DateTimeConverterBase Class

Namespace: Stimulsoft.Base.Json.Converters

Provides a base class for converting a DateTime to and from JSON.

Inheritance

Inherits from: JsonConverter

Methods

Method Returns Description
CanConvert bool Determines whether this instance can convert the specified object type.

Method Details

CanConvert

CanConvert(objectType: Type): bool

Determines whether this instance can convert the specified object type.

Parameters

  • objectType (Type) — Type of the object.

Returns bool — true if this instance can convert the specified object type; otherwise, false.