UnixDateTimeConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).
public sealed class UnixDateTimeConverter : Newtonsoft.Json.Converters.DateTimeConverterBase
type UnixDateTimeConverter = class
inherit DateTimeConverterBase
Public NotInheritable Class UnixDateTimeConverter
Inherits DateTimeConverterBase
- Inheritance
-
Newtonsoft.Json.Converters.DateTimeConverterBaseUnixDateTimeConverter
Constructors
UnixDateTimeConverter() |
Methods
ReadJson(JsonReader, Type, Object, JsonSerializer) |
Reads the JSON representation of the DateTime object. |
WriteJson(JsonWriter, Object, JsonSerializer) |
Writes the JSON representation of the DateTime object. |
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.