DateTimeZoneProviders Serialization Property Noda Time
The IDateTimeZoneProvider to use to interpret a time zone ID read as part of XML or binary serialization.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: 1.3.0.0 (1.3.1)
Syntax

public static IDateTimeZoneProvider Serialization { get; set; }

Property Value

Type: IDateTimeZoneProvider
Remarks

This property defaults to Tzdb. The mere existence of this property is unfortunate, but XML and binary serialization in .NET provide no simple way of configuring appropriate context. It is expected that any single application is unlikely to want to serialize ZonedDateTime values using different time zone providers.
Version Information

Available since: 1.2.0
Supported in the PCL? Yes
See Also