Class DateTimeZoneSourceExtensions
Extension methods for IDateTimeZoneSource to enable migration to Noda Time 2.0.
Since 1.4.x
Availability net35-Client, PCL
Inheritance
Object
DateTimeZoneSourceExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: NodaTime.TimeZones
Assembly: NodaTime.dll
Syntax
public static class DateTimeZoneSourceExtensions
Methods
GetSystemDefaultId(IDateTimeZoneSource)
Returns this source's ID for the system default time zone.
Since 1.4.x
Availability net35-Client, PCL
Declaration
public static string GetSystemDefaultId(this IDateTimeZoneSource source)
Parameters
Type | Name | Description |
---|---|---|
IDateTimeZoneSource | source | The source to consult its ID for the system default time zone |
Returns
Type | Description |
---|---|
String | The ID for the system default time zone for this source, or null if the system default time zone has no mapping in this source. |