Enum SkippedTimeBehavior
Defines how a local wall-clock time that does not exist on the local calendar day should be handled—typically a spring-forward gap when daylight saving time starts.
public enum SkippedTimeBehavior
Fields
Skip = 0The timer does not fire for the nonexistent wall time; scheduling advances to the next valid occurrence without invoking a callback for the skipped instant.
RunAfter = 1The timer runs as soon as possible after the skipped (nonexistent) local time.
The timer triggers the respective callback as soon as possible after the skipped time, unless another callback time would run at or before that instant—in that case the callback for the skipped time is skipped.
This applies to time shifts from daylight saving time changes. If the time zone changes, callback times are recalculated and the timer runs at the next scheduled time.
RunBefore = 2The timer runs immediately before the skipped time.
The timer triggers the respective callback immediately before the daylight saving time change, as the clock is adjusted forward.
This applies to time shifts from daylight saving time changes. If the time zone changes, callback times are recalculated and the timer runs at the next scheduled time.
Remarks
This enum applies to invalid local times only. When a local wall time is ambiguous (fall-back overlap), use DuplicateTimeBehavior instead; SkippedTimeBehavior is not used in that case.