Class WindowsZones
Representation of the <windowsZones>
element of CLDR supplemental data.
Since 1.1.x
Availability net45, netstandard1.3, netstandard2.0
Inheritance
Object
WindowsZones
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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 net45, netstandard1.3, 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. (The value returned is never null.) |
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 net45, netstandard1.3, 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. (The value returned is never null.) |
TzdbVersion
Gets the TZDB version this Windows zone mapping data was created from.
Since 1.1.x
Availability net45, netstandard1.3, netstandard2.0
Declaration
public string TzdbVersion { get; }
Property Value
Type |
Description |
String |
The TZDB version this Windows zone mapping data was created from. (The value returned is never null.) |
Version
Gets the version of the Windows zones mapping data read from the original file.
Since 1.1.x
Availability net45, netstandard1.3, 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. (The value returned is never null.) |
WindowsVersion
Gets the Windows time zone database version this Windows zone mapping data was created from.
Since 1.1.x
Availability net45, netstandard1.3, 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. (The value returned is never null.) |