Noda Time
Show / Hide Table of Contents

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, PCL
Inheritance
Object
DateTimeZoneProviders
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: NodaTime
Assembly: NodaTime.dll
Syntax
public static class DateTimeZoneProviders

Properties

Bcl

Gets a time zone provider which uses a BclDateTimeZoneSource. This property is not available on the PCL build of Noda Time.
Since 1.0.x
Availability net35-Client
Declaration
public static IDateTimeZoneProvider Bcl { get; }
Property Value
Type Description
IDateTimeZoneProvider

Default

Gets the TZDB time zone provider. This always returns the same value as the Tzdb property.
Since 1.0.x
Availability net35-Client
Declaration
[Obsolete("Use DateTimeZoneProviders.Tzdb instead")]
public static IDateTimeZoneProvider Default { get; }
Property Value
Type Description
IDateTimeZoneProvider
Remarks
This method is not available in the PCL version, as it was made obsolete in Noda Time 1.1.
See Also
Tzdb

Tzdb

Gets a time zone provider which uses a TzdbDateTimeZoneSource. The underlying source is Default, which is initialized from resources within the NodaTime assembly.
Since 1.0.x
Availability net35-Client, PCL
Declaration
public static IDateTimeZoneProvider Tzdb { get; }
Property Value
Type Description
IDateTimeZoneProvider
In this article
Back to top Generated by DocFX