Skip to main content
Version: 0.17

Class: DateSerializer

Hierarchy​

Constructors​

constructor​

• new DateSerializer(settings?)

Parameters​

NameType
settings?Object
settings.deserializationOptions?unknown
settings.serializationOptions?unknown
settings.serializerFor?SerializerForFn<Serializer<unknown, unknown, unknown, unknown>>

Inherited from​

BaseSerializer.constructor

Defined in​

base-serializer.ts:15

Properties​

serializerFor​

• Optional serializerFor: SerializerForFn<Serializer<unknown, unknown, unknown, unknown>>

Inherited from​

BaseSerializer.serializerFor

Defined in​

base-serializer.ts:11

Methods​

deserialize​

â–¸ deserialize(arg): Date

Parameters​

NameType
argstring

Returns​

Date

Overrides​

BaseSerializer.deserialize

Defined in​

date-serializer.ts:11


serialize​

â–¸ serialize(arg): string

Parameters​

NameType
argDate

Returns​

string

Overrides​

BaseSerializer.serialize

Defined in​

date-serializer.ts:4