示例#1
0
		private CronSchedule(string minutes, string hours, string days, string months, string daysOfWeek)
		{
			_minutes = new MinutesCronEntry(minutes);
			_hours = new HoursCronEntry(hours);
			_days = new DaysCronEntry(days);
			_months = new MonthsCronEntry(months);
			_daysOfWeek = new DaysOfWeekCronEntry(daysOfWeek); // 0 = Sunday
		}
示例#2
0
 private CronSchedule(string minutes, string hours, string days, string months, string daysOfWeek)
 {
     _minutes    = new MinutesCronEntry(minutes);
     _hours      = new HoursCronEntry(hours);
     _days       = new DaysCronEntry(days);
     _months     = new MonthsCronEntry(months);
     _daysOfWeek = new DaysOfWeekCronEntry(daysOfWeek);             // 0 = Sunday
 }