예제 #1
0
파일: CronField.cs 프로젝트: kehinze/Hermes
 public virtual CronValue GetNext(CronValue current)
 {
     return GetNext(current.Value);
 }
예제 #2
0
 private void SetStartOfMonth(ScheduleTime next, CronValue scheduledMonth)
 {
     next.Month = scheduledMonth.Value;
     next.Day = DayOfMonthField.GetFirst().Value;
     next.Hour = HourField.GetFirst().Value;
     next.Minute = MinuteField.GetFirst().Value;
 }
예제 #3
0
 private void SetStartOfHour(ScheduleTime next, CronValue scheduledHour)
 {
     next.Hour = scheduledHour.Value;
     next.Minute = MinuteField.GetFirst().Value;
 }
예제 #4
0
 private void SetStartOfMinute(ScheduleTime next, CronValue scheduledMinute)
 {
     next.Minute = scheduledMinute.Value;
     next.Second = SecondField.GetFirst().Value;
 }
예제 #5
0
 private void SetStartOfDay(ScheduleTime next, CronValue scheduledDay)
 {
     next.Day = scheduledDay.Value;
     next.Hour = HourField.GetFirst().Value;
     next.Minute = MinuteField.GetFirst().Value;
 }