Пример #1
0
 public DailyTimeIntervalTriggerDetailDto(IDailyTimeIntervalTrigger trigger, ICalendar calendar) : base(trigger, calendar)
 {
     RepeatInterval     = trigger.RepeatInterval;
     TimesTriggered     = trigger.TimesTriggered;
     RepeatIntervalUnit = trigger.RepeatIntervalUnit;
     TimeZone           = new TimeZoneDto(trigger.TimeZone);
 }
Пример #2
0
 public CalendarIntervalTriggerDetailDto(ICalendarIntervalTrigger trigger, ICalendar calendar) : base(trigger, calendar)
 {
     RepeatInterval     = trigger.RepeatInterval;
     TimesTriggered     = trigger.TimesTriggered;
     RepeatIntervalUnit = trigger.RepeatIntervalUnit;
     PreserveHourOfDayAcrossDaylightSavings = trigger.PreserveHourOfDayAcrossDaylightSavings;
     TimeZone = new TimeZoneDto(trigger.TimeZone);
     SkipDayIfHourDoesNotExist = trigger.SkipDayIfHourDoesNotExist;
 }
Пример #3
0
 public CronTriggerDetailDto(ICronTrigger trigger, ICalendar calendar) : base(trigger, calendar)
 {
     CronExpression = trigger.CronExpressionString;
     TimeZone       = new TimeZoneDto(trigger.TimeZone);
 }
Пример #4
0
 public AnnualCalendarDto(AnnualCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     DaysExcluded = calendar.DaysExcluded;
     TimeZone     = new TimeZoneDto(calendar.TimeZone);
 }
Пример #5
0
 public WeeklyCalendarDto(WeeklyCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     DaysExcluded = calendar.DaysExcluded.ToList();
     TimeZone     = new TimeZoneDto(calendar.TimeZone);
 }
Пример #6
0
 public HolidayCalendarDto(HolidayCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     ExcludedDates = calendar.ExcludedDates.ToList();
     TimeZone      = new TimeZoneDto(calendar.TimeZone);
 }
Пример #7
0
 public DailyCalendarDto(DailyCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     InvertTimeRange = calendar.InvertTimeRange;
     TimeZone        = new TimeZoneDto(calendar.TimeZone);
 }
Пример #8
0
 public CronCalendarDto(CronCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     CronExpression = calendar.CronExpression.CronExpressionString;
     TimeZone       = new TimeZoneDto(calendar.TimeZone);
 }