Added checkForIntraDay().