Esempio n. 1
0
 public CronTriggerDetailModel(ICronTrigger trigger, ICalendar calendar) : base(trigger, calendar)
 {
     CronExpression = trigger.CronExpressionString;
     TimeZone       = new TimeZone(trigger.TimeZone);
 }
 public CronCalendarDto(CronCalendar calendar) : base(calendar)
 {
     CronExpression = calendar.CronExpression.CronExpressionString;
     TimeZone       = new TimeZone(calendar.TimeZone);
 }
 public AnnualCalendarDto(AnnualCalendar calendar) : base(calendar)
 {
     DaysExcluded = calendar.DaysExcluded as IReadOnlyList <DateTimeOffset>;
     TimeZone     = new TimeZone(calendar.TimeZone);
 }
 public WeeklyCalendarDto(WeeklyCalendar calendar) : base(calendar)
 {
     DaysExcluded = calendar.DaysExcluded.ToList();
     TimeZone     = new TimeZone(calendar.TimeZone);
 }
 public HolidayCalendarDto(HolidayCalendar calendar) : base(calendar)
 {
     ExcludedDates = calendar.ExcludedDates.ToList();
     TimeZone      = new TimeZone(calendar.TimeZone);
 }
 public DailyCalendarDto(DailyCalendar calendar) : base(calendar)
 {
     InvertTimeRange = calendar.InvertTimeRange;
     TimeZone        = new TimeZone(calendar.TimeZone);
 }