Class DateTimeConverterBase
- Namespace
- Newtonsoft.Json.Converters
- Assembly
- Newtonsoft.Json.dll
Provides a base class for converting a DateTime to and from JSON.
public abstract class DateTimeConverterBase : JsonConverter
- Inheritance
-
DateTimeConverterBase
- Derived
- Inherited Members
Constructors
DateTimeConverterBase()
protected DateTimeConverterBase()
Methods
CanConvert(Type)
Determines whether this instance can convert the specified object type.
public override bool CanConvert(Type objectType)
Parameters
objectTypeTypeType of the object.
Returns
- bool
trueif this instance can convert the specified object type; otherwise,false.