MobileServiceIsoDateTimeConverter MobileServiceIsoDateTimeConverter MobileServiceIsoDateTimeConverter Class

Definition

Converts DateTime and DateTimeOffset object into UTC DateTime and creates a ISO string representation by calling ToUniversalTime on serialization and ToLocalTime on deserialization.

public class MobileServiceIsoDateTimeConverter : Newtonsoft.Json.Converters.IsoDateTimeConverter
type MobileServiceIsoDateTimeConverter = class
    inherit IsoDateTimeConverter
Public Class MobileServiceIsoDateTimeConverter
Inherits IsoDateTimeConverter
Inheritance
Newtonsoft.Json.Converters.IsoDateTimeConverterNewtonsoft.Json.Converters.IsoDateTimeConverterNewtonsoft.Json.Converters.IsoDateTimeConverter
MobileServiceIsoDateTimeConverterMobileServiceIsoDateTimeConverterMobileServiceIsoDateTimeConverter

Constructors

MobileServiceIsoDateTimeConverter() MobileServiceIsoDateTimeConverter() MobileServiceIsoDateTimeConverter()

Creates a new instance of MobileServiceIsoDateTimeConverter.

Methods

ReadJson(JsonReader, Type, Object, JsonSerializer) ReadJson(JsonReader, Type, Object, JsonSerializer) ReadJson(JsonReader, Type, Object, JsonSerializer)

Reads the JSON representation of the object.

WriteJson(JsonWriter, Object, JsonSerializer) WriteJson(JsonWriter, Object, JsonSerializer) WriteJson(JsonWriter, Object, JsonSerializer)

Writes the JSON representation of the object.

Applies to