Noda Time
TzdbDateTimeZoneSource Constructor (baseName)
NamespacesNodaTime.TimeZonesTzdbDateTimeZoneSourceTzdbDateTimeZoneSource(String)

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

Initializes a new instance of the TzdbDateTimeZoneSource class from a resource within the NodaTime assembly.
Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Use TzdbDateTimeZoneSource.Default to access the only TZDB resources within the NodaTime assembly")]
public TzdbDateTimeZoneSource(
	string baseName
)
<ObsoleteAttribute("Use TzdbDateTimeZoneSource.Default to access the only TZDB resources within the NodaTime assembly")> _
Public Sub New ( _
	baseName As String _
)
public:
[ObsoleteAttribute(L"Use TzdbDateTimeZoneSource.Default to access the only TZDB resources within the NodaTime assembly")]
TzdbDateTimeZoneSource(
	String^ baseName
)
Parameters
baseName (String)
The root name of the resource file.
Remarks
For backwards compatibility, this will use the blob time zone data when given the same base name which would previously have loaded the now-obsolete resource data.
Exceptions
ExceptionCondition
InvalidNodaDataExceptionThe data within the resource is invalid.
MissingManifestResourceExceptionThe resource set cannot be found.

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