Json.NET - Quick Starts & API Documentation
JavaScriptDateTimeConverter Class
Namespaces ► Newtonsoft.Json.Converters ► JavaScriptDateTimeConverter
Converts a DateTime to and from a JavaScript date constructor (e.g. new Date(52231943)).
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class JavaScriptDateTimeConverter : DateTimeConverterBase
Public Class JavaScriptDateTimeConverter _ Inherits DateTimeConverterBase
public ref class JavaScriptDateTimeConverter : public DateTimeConverterBase
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
JavaScriptDateTimeConverter()()()() |
Initializes a new instance of the JavaScriptDateTimeConverter class
|
|
CanConvert(Type) |
Determines whether this instance can convert the specified object type.
(Inherited from DateTimeConverterBase.) |
|
CanRead |
Gets a value indicating whether this JsonConverter can read JSON.
(Inherited from JsonConverter.) |
|
CanWrite |
Gets a value indicating whether this JsonConverter can write JSON.
(Inherited from JsonConverter.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetSchema()()()() |
Gets the JsonSchema of the JSON produced by the JsonConverter.
(Inherited from JsonConverter.) |
|
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ReadJson(JsonReader, Type, Object, JsonSerializer) |
Reads the JSON representation of the object.
(Overrides JsonConverter.ReadJson(JsonReader, Type, Object, JsonSerializer).) |
|
ToString()()()() | (Inherited from Object.) |
|
WriteJson(JsonWriter, Object, JsonSerializer) |
Writes the JSON representation of the object.
(Overrides JsonConverter.WriteJson(JsonWriter, Object, JsonSerializer).) |
Inheritance Hierarchy
Object | |||
JsonConverter | |||
DateTimeConverterBase | |||
JavaScriptDateTimeConverter |