Noda Time
DateTimeZoneCache Constructor (source)
NamespacesNodaTime.TimeZonesDateTimeZoneCacheDateTimeZoneCache(IDateTimeZoneSource)

[This is preliminary documentation and is subject to change.]

Creates a provider backed by the given IDateTimeZoneSource.
Declaration Syntax
C#Visual BasicVisual C++
public DateTimeZoneCache(
	IDateTimeZoneSource source
)
Public Sub New ( _
	source As IDateTimeZoneSource _
)
public:
DateTimeZoneCache(
	IDateTimeZoneSource^ source
)
Parameters
source (IDateTimeZoneSource)
The IDateTimeZoneSource for this provider.
Remarks
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.
Exceptions
ExceptionCondition
ArgumentNullExceptionsource is null.
InvalidDateTimeZoneSourceExceptionsource violates its contract.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)