Poq.SDK.Node

Home > @poq/transform > DateConverter

DateConverter class

Defines logic of handling date type during conversion process.

Signature:

export declare class DateConverter extends AbstractConverter<string, Date> 

Extends: AbstractConverter<string, Date

Constructors

Constructor Modifiers Description
(constructor)()   Constructs a new instance of the DateConverter class

Methods

Method Modifiers Description
toPlain(_transformer, item)   Method transforms instance of class/type into plain representation.
toType(_transformer, item)   Method transforms plain representation into instance of class/type.