Table of Contents

Property LocalScheduleTimeZone

Namespace
KZDev.SystemClock.PrimeTime.Testing
Assembly
KZDev.SystemClock.PrimeTime.Testing.dll

LocalScheduleTimeZone

Gets the time zone used to resolve the local calendar date and local wall-clock time for local day-time timer registration (BCL time-of-day surface when available).

public TimeZoneInfo LocalScheduleTimeZone { get; }

Property Value

TimeZoneInfo

Remarks

Matches LocalTimeZone when the implementation is backed by a TimeProvider. Unit tests may substitute a synthetic TimeZoneInfo for deterministic DST coverage.

The NodaTime-based package (KZDev.PrimeTime) exposes the same member: when the clock's local Noda DateTimeZone wraps BCL data (a BclDateTimeZone), this is that wrapped TimeZoneInfo; when it does not, implementations fall back to Local so a concrete TimeZoneInfo is always returned.