day of year constraint