Table of Contents

Class NodaDateTimeZoneBclConversion

Namespace
KZDev.PrimeTime
Assembly
KZDev.PrimeTime.dll

Maps Noda NodaTime.DateTimeZone values to BCL TimeZoneInfo for LocalScheduleTimeZone and LocalTimeZone adapters.

public static class NodaDateTimeZoneBclConversion
Inheritance
NodaDateTimeZoneBclConversion

Methods

GetLocalScheduleTimeZoneInfo(DateTimeZone)

Returns the wrapped TimeZoneInfo when zone is a NodaTime.TimeZones.BclDateTimeZone; otherwise returns Local so callers still receive a concrete zone (non-BCL zones have no single BCL equivalent).