Add DateTime and CheckSchedule, and unit test for it