Class: DateTimeSerializer
Hierarchy​
BaseSerializer
<Date
,string
>↳
DateTimeSerializer
Constructors​
constructor​
• new DateTimeSerializer(settings?
)
Parameters​
Name | Type |
---|---|
settings? | Object |
settings.deserializationOptions? | unknown |
settings.serializationOptions? | unknown |
settings.serializerFor? | SerializerForFn <Serializer <unknown , unknown , unknown , unknown >> |
Inherited from​
Defined in​
Properties​
serializerFor​
• Optional
serializerFor: SerializerForFn
<Serializer
<unknown
, unknown
, unknown
, unknown
>>
Inherited from​
Defined in​
Methods​
deserialize​
â–¸ deserialize(arg
): Date
Parameters​
Name | Type |
---|---|
arg | string |
Returns​
Date
Overrides​
Defined in​
serialize​
â–¸ serialize(arg
): string
Parameters​
Name | Type |
---|---|
arg | Date |
Returns​
string