Share via


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.IsoDateTimeConverter
MobileServiceIsoDateTimeConverter

Constructors

MobileServiceIsoDateTimeConverter()

Creates a new instance of MobileServiceIsoDateTimeConverter.

Methods

ReadJson(JsonReader, Type, Object, JsonSerializer)

Reads the JSON representation of the object.

WriteJson(JsonWriter, Object, JsonSerializer)

Writes the JSON representation of the object.

Applies to