UnixDateTimeConverter Class

 

Updated: June 30, 2017

Converts a DateTime object to and from JSON. DateTime is represented as the total number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z).

Namespace:   Microsoft.Azure.Documents
Assembly:  Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

SystemObject
  Newtonsoft.JsonJsonConverter
    Newtonsoft.Json.ConvertersDateTimeConverterBase
      Microsoft.Azure.DocumentsUnixDateTimeConverter

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubproperty

(Inherited from JsonConverter.)

System_CAPS_pubproperty

(Inherited from JsonConverter.)

NameDescription
System_CAPS_pubmethodCanConvert

(Inherited from DateTimeConverterBase.)

System_CAPS_pubmethodEquals

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode

(Inherited from Object.)

System_CAPS_pubmethodGetSchema

(Inherited from JsonConverter.)

System_CAPS_pubmethodGetType

(Inherited from Object.)

System_CAPS_pubmethodReadJson

Reads the JSON representation of the DateTime object. (Overrides JsonConverterReadJson.)

System_CAPS_pubmethodToString

(Inherited from Object.)

System_CAPS_pubmethodWriteJson

Writes the JSON representation of the DateTime object. (Overrides JsonConverterWriteJson.)

NameDescription
System_CAPS_pubmethodIsDefined

Determines if a certain property is defined or not. (Defined by TypeCheckFunctionsExtensions.)

System_CAPS_pubmethodIsNull

Determines if a certain property is null or not. (Defined by TypeCheckFunctionsExtensions.)

System_CAPS_pubmethodIsPrimitive

Determines if a certain property is of premitive JSON type. (Defined by TypeCheckFunctionsExtensions.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: