[This is preliminary documentation and is subject to change.]
Creates a provider backed by the given IDateTimeZoneSource.

C# | Visual Basic | Visual C++ |
public DateTimeZoneCache( IDateTimeZoneSource source )
Public Sub New ( _ source As IDateTimeZoneSource _ )
public: DateTimeZoneCache( IDateTimeZoneSource^ source )

- source (IDateTimeZoneSource)
- The IDateTimeZoneSource for this provider.

Note that the source will never be consulted for requests for the fixed-offset timezones "UTC" and
"UTC+/-Offset" (a standard implementation will be returned instead). This is true even if these IDs are
advertised by the source.

Exception | Condition |
---|---|
ArgumentNullException | source is null. |
InvalidDateTimeZoneSourceException | source violates its contract. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)