Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
public CalendarIntervalScheduleBuilder PreserveHourOfDayAcrossDaylightSavings( bool preserveHourOfDay )
Parameters
- preserveHourOfDay
- Type: SystemBoolean
[Missing <param name="preserveHourOfDay"/> documentation for "M:Quartz.CalendarIntervalScheduleBuilder.PreserveHourOfDayAcrossDaylightSavings(System.Boolean)"]
Return Value
Type: CalendarIntervalScheduleBuilder[Missing <returns> documentation for "M:Quartz.CalendarIntervalScheduleBuilder.PreserveHourOfDayAcrossDaylightSavings(System.Boolean)"]
For example, without the property set, your trigger may have a start time of 9:00 am on March 1st, and a repeat interval of 2 days. But after the daylight saving transition occurs, the trigger may start firing at 8:00 am every other day.
If however, the time of day does not exist on a given day to fire (e.g. 2:00 am in the United States on the days of daylight saving transition), the trigger will go ahead and fire one hour off on that day, and then resume the normal hour on other days. If you wish for the trigger to never fire at the "wrong" hour, then you should set the property skipDayIfHourDoesNotExist.