Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.JSONDateTimeJsonConverter Class Reference

Converts a DateTime to and from the ISO 8601 date format (e.g. 2008-04-12T12:53) using the server time. Does not adjust for timezone. More...

Inheritance diagram for Ext.Net.JSONDateTimeJsonConverter:
Ext.Net.ExtJsonConverter

Public Member Functions

override void WriteJson (Newtonsoft.Json.JsonWriter writer, object value, JsonSerializer serializer)
 Writes the JSON representation of the object. More...
 
override object ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
 Reads the JSON representation of the object. More...
 
override bool CanConvert (Type objectType)
 Determines whether this instance can convert the specified object type. More...
 

Properties

virtual bool RenderMilliseconds [get, set]
 
- Properties inherited from Ext.Net.ExtJsonConverter
string PropertyName [get, set]
 
string Name [get, set]
 
object Owner [get, set]
 
Control OwnerControl [get]
 

Detailed Description

Converts a DateTime to and from the ISO 8601 date format (e.g. 2008-04-12T12:53) using the server time. Does not adjust for timezone.

Member Function Documentation

◆ CanConvert()

override bool Ext.Net.JSONDateTimeJsonConverter.CanConvert ( Type  objectType)
inline

Determines whether this instance can convert the specified object type.

Parameters
objectTypeType of the object.
Returns
true if this instance can convert the specified object type; otherwise, false.

◆ ReadJson()

override object Ext.Net.JSONDateTimeJsonConverter.ReadJson ( Newtonsoft.Json.JsonReader  reader,
Type  objectType,
object  existingValue,
JsonSerializer  serializer 
)
inline

Reads the JSON representation of the object.

Parameters
readerThe JsonReader to read from.
objectTypeType of the object.
existingValueExisting Value
serializerSerializer
Returns
The object value.

◆ WriteJson()

override void Ext.Net.JSONDateTimeJsonConverter.WriteJson ( Newtonsoft.Json.JsonWriter  writer,
object  value,
JsonSerializer  serializer 
)
inline

Writes the JSON representation of the object.

Parameters
writerThe JsonWriter to write to.
valueThe value.
serializerSerializer

Property Documentation

◆ RenderMilliseconds

virtual bool Ext.Net.JSONDateTimeJsonConverter.RenderMilliseconds
getset


The documentation for this class was generated from the following file: