Exemplo n.º 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);
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public CronTriggerDetailDto(ICronTrigger trigger, ICalendar calendar) : base(trigger, calendar)
 {
     CronExpression = trigger.CronExpressionString;
     TimeZone       = new TimeZoneDto(trigger.TimeZone);
 }
Exemplo n.º 4
0
 public AnnualCalendarDto(AnnualCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     DaysExcluded = calendar.DaysExcluded;
     TimeZone     = new TimeZoneDto(calendar.TimeZone);
 }
Exemplo n.º 5
0
 public WeeklyCalendarDto(WeeklyCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     DaysExcluded = calendar.DaysExcluded.ToList();
     TimeZone     = new TimeZoneDto(calendar.TimeZone);
 }
Exemplo n.º 6
0
 public HolidayCalendarDto(HolidayCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     ExcludedDates = calendar.ExcludedDates.ToList();
     TimeZone      = new TimeZoneDto(calendar.TimeZone);
 }
Exemplo n.º 7
0
 public DailyCalendarDto(DailyCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     InvertTimeRange = calendar.InvertTimeRange;
     TimeZone        = new TimeZoneDto(calendar.TimeZone);
 }
Exemplo n.º 8
0
 public CronCalendarDto(CronCalendar calendar, string calendarName) : base(calendar, calendarName)
 {
     CronExpression = calendar.CronExpression.CronExpressionString;
     TimeZone       = new TimeZoneDto(calendar.TimeZone);
 }