Class DateTimeZoneProviders
Static access to date/time zone providers built into Noda Time. These are all thread-safe and caching.
Since 1.0.x
Availability net35-Client
Inherited Members
Namespace: NodaTime
Assembly: NodaTime.dll
Syntax
public static class DateTimeZoneProviders
Properties
Bcl
Gets a time zone provider which uses the BclDateTimeZoneSource.
Since 1.0.x
Availability net35-Client
Declaration
public static IDateTimeZoneProvider Bcl { get; }
Property Value
Type | Description |
---|---|
IDateTimeZoneProvider |
Default
Gets the default time zone provider, which is initialized from resources within the NodaTime assembly.
Since 1.0.x
Availability net35-Client
Declaration
public static IDateTimeZoneProvider Default { get; }
Property Value
Type | Description |
---|---|
IDateTimeZoneProvider |
Remarks
Currently this returns the same value as the Tzdb property.
Tzdb
Gets a time zone provider which uses the TzdbDateTimeZoneSource.
Since 1.0.x
Availability net35-Client
Declaration
public static IDateTimeZoneProvider Tzdb { get; }
Property Value
Type | Description |
---|---|
IDateTimeZoneProvider |