Move the day check to be included in the isInTimeWindow method.