public virtual CronValue GetNext(CronValue current) { return GetNext(current.Value); }
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; }
private void SetStartOfHour(ScheduleTime next, CronValue scheduledHour) { next.Hour = scheduledHour.Value; next.Minute = MinuteField.GetFirst().Value; }
private void SetStartOfMinute(ScheduleTime next, CronValue scheduledMinute) { next.Minute = scheduledMinute.Value; next.Second = SecondField.GetFirst().Value; }
private void SetStartOfDay(ScheduleTime next, CronValue scheduledDay) { next.Day = scheduledDay.Value; next.Hour = HourField.GetFirst().Value; next.Minute = MinuteField.GetFirst().Value; }