Summary
Reads the time zone ID (which must be a string) from the reader, and converts it to a time zone.
- Assembly
- Rocket
.Surgery .Azure .Storage .dll - Namespace
- Rocket
.Surgery .Azure .Storage .Converters - Containing Type
- Noda
Date Time Zone Converter
Syntax
protected override DateTimeZone ReadJsonImpl(JsonReader reader, JsonSerializer serializer)
Parameters
Name | Type | Description |
---|---|---|
reader | JsonReader | The JSON reader to fetch data from. |
serializer | JsonSerializer | The serializer for embedded serialization. |
Return Value
Type | Description |
---|---|
DateTimeZone | The NodaTime.DateTimeZone identified in the JSON, or null. |