MobileServiceIsoDateTimeConverter クラス

定義

シリアル化時には ToUniversalTime を、シリアル化解除時には ToLocalTime を呼び出すことで、DateTime オブジェクトと DateTimeOffset オブジェクトを UTC 日時に変換して ISO 文字列表記を作成します。

public class MobileServiceIsoDateTimeConverter : Newtonsoft.Json.Converters.IsoDateTimeConverter
type MobileServiceIsoDateTimeConverter = class
    inherit IsoDateTimeConverter
Public Class MobileServiceIsoDateTimeConverter
Inherits IsoDateTimeConverter
継承
Newtonsoft.Json.Converters.IsoDateTimeConverter
MobileServiceIsoDateTimeConverter

コンストラクター

MobileServiceIsoDateTimeConverter()

MobileServiceIsoDateTimeConverter の新しいインスタンスを作成します。

メソッド

ReadJson(JsonReader, Type, Object, JsonSerializer)

オブジェクトの JSON 表現を読み取ります。

WriteJson(JsonWriter, Object, JsonSerializer)

オブジェクトの JSON 表現を書き込みます。

適用対象