[This is preliminary documentation and is subject to change.]
Initializes a new instance of the TzdbDateTimeZoneSource class from a resource within
the NodaTime assembly.

C# | Visual Basic | Visual 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 )

- baseName (String)
- The root name of the resource file.

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.

Exception | Condition |
---|---|
InvalidNodaDataException | The data within the resource is invalid. |
MissingManifestResourceException | The resource set cannot be found. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)