Noda Time
IDateTimeZoneProvider Interface
NamespacesNodaTimeIDateTimeZoneProvider
Provides stable, performant time zone data.
Declaration Syntax
C#Visual BasicVisual C++
public interface IDateTimeZoneProvider
Public Interface IDateTimeZoneProvider
public interface class IDateTimeZoneProvider
Members
All MembersMethodsProperties



IconMemberDescription
GetSystemDefault()()()()
Gets the time zone from this provider that matches the system default time zone, if a matching time zone is available.

GetZoneOrNull(String)
Returns the time zone for the given ID, if it's available.

Ids
Gets the list of valid time zone ids advertised by this provider.

Item[([( String])])
Returns the time zone for the given ID.

VersionId
The version ID of this provider.

Remarks
Consumers should be able to treat an IDateTimeZoneProvider like a cache: lookups should be quick (after at most one lookup of a given ID), and the data for a given ID should always be the same (even if the specific instance returned is not). Consumers should not feel the need to cache data accessed through this interface.

Assembly: NodaTime (Module: NodaTime) Version: 1.0.0.0 (1.0.1)