Class WindowsZones
Representation of the <windowsZones>
element of CLDR supplemental data.
Since 1.1.x
Availability net6.0, net8.0, netstandard2.0
Assembly: NodaTime.dll
Syntax
public sealed class WindowsZones
Properties
MapZones
Gets an immutable collection of mappings from Windows system time zones to
TZDB time zones.
Since 1.1.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public IList<MapZone> MapZones { get; }
Property Value
Type |
Description |
IList<MapZone> |
An immutable collection of mappings from Windows system time zones to
TZDB time zones. |
PrimaryMapping
Gets an immutable dictionary of primary mappings, from Windows system time zone ID
to TZDB zone ID. This corresponds to the "001" territory which is present for every zone
within the mapping file.
Since 1.1.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public IDictionary<string, string> PrimaryMapping { get; }
Property Value
Type |
Description |
IDictionary<string, string> |
An immutable dictionary of primary mappings, from Windows system time zone ID
to TZDB zone ID. |
TzdbVersion
Gets the TZDB version this Windows zone mapping data was created from.
Since 1.1.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public string TzdbVersion { get; }
Property Value
Type |
Description |
string |
The TZDB version this Windows zone mapping data was created from. |
Version
Gets the version of the Windows zones mapping data read from the original file.
Since 1.1.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public string Version { get; }
Property Value
Type |
Description |
string |
The version of the Windows zones mapping data read from the original file. |
WindowsVersion
Gets the Windows time zone database version this Windows zone mapping data was created from.
Since 1.1.x
Availability net6.0, net8.0, netstandard2.0
Declaration
public string WindowsVersion { get; }
Property Value
Type |
Description |
string |
The Windows time zone database version this Windows zone mapping data was created from. |