protected CronExpression(int interval, CronExpressionType expressionType) { _interval = interval; _expressionType = expressionType; BuildCronExpression(); }
protected CronExpression(int startHour, int startMinute, CronExpressionType expressionType) { _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
public CronExpression(IEnumerable <int> dayNumbers, int hour, int minute, CronExpressionType expressionType) { _dayNumbers = dayNumbers.ToList(); _startHour = hour; _startMinute = minute; _expressionType = expressionType; BuildCronExpression(); }
protected QuartzCronExpression(int interval, int startHour, int startMinute, CronExpressionType expressionType) { _interval = interval; _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
protected CronExpression(DaysOfWeek days, int startHour, int startMinute, CronExpressionType expressionType) { _days = days; _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
protected CronExpression(string[] days, int startHour, int startMinute, CronExpressionType expressionType) { daysStringFormat = days; _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
protected CronExpression(Months month, int dayNumber, int startHour, int startMinute, CronExpressionType expressionType) { _month = month; _dayNumber = dayNumber; _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
protected CronExpression(int dayNumber, int interval, int startHour, int startMinute, CronExpressionType expressionType) { _dayNumber = dayNumber; _interval = interval; _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
protected QuartzCronExpression(int dayNumber, Months months, int startHour, int startMinute, CronExpressionType expressionType) { _dayNumber = dayNumber; _months = months; _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
protected CronExpression(DaySeqNumber dayNumber, DaysOfWeek days, int monthInverval, int startHour, int startMinute, CronExpressionType expressionType) { _dayNumber = (int)dayNumber; _days = days; _interval = monthInverval; _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
protected CronExpression(DaySeqNumber dayNumber, DaysOfWeek days, Months month, int startHour, int startMinute, CronExpressionType expressionType) { _dayNumber = (int)dayNumber; _days = days; _month = month; _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
protected QuartzCronExpression(int secondNumber, int startMinute, int startHour, int dayNumber, int monthNumber, int yearNumber, CronExpressionType expressionType) { _startSecond = secondNumber; _startMinute = startMinute; _startHour = startHour; _dayNumber = dayNumber; _months = MonthsHelper.GetfromMonthNumber(monthNumber); _yearNumber = yearNumber; _expressionType = expressionType; BuildCronExpression(); }
protected CronExpression(IEnumerable <string> days, int startHour, int startMinute, CronExpressionType expressionType) { var tempDays = days.Select(x => Enum.Parse <DaysOfWeek>(x)); foreach (var day in tempDays) { _days = day | _days; } _startHour = startHour; _startMinute = startMinute; _expressionType = expressionType; BuildCronExpression(); }
public string GetNameByCronType(CronExpressionType type) { return(cronExpressionTypesReadable.GetEnumItemName(type)); }