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

Converts a DateTime to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). More...

Inheritance diagram for Ext.Net.ISODateTimeJsonConverter:
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

DateTimeStyles DateTimeStyles [get, set]
 Gets or sets the date time styles used when converting a date to and from JSON. More...
 
- 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:53Z).

Member Function Documentation

◆ CanConvert()

override bool Ext.Net.ISODateTimeJsonConverter.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.ISODateTimeJsonConverter.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.ISODateTimeJsonConverter.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

◆ DateTimeStyles

DateTimeStyles Ext.Net.ISODateTimeJsonConverter.DateTimeStyles
getset

Gets or sets the date time styles used when converting a date to and from JSON.

The date time styles used when converting a date to and from JSON.


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