throwing errors if day does not follow 1-3-5 pattern