Home > @poq/transform > DateConverter
Defines logic of handling date type during conversion process.
Signature:
export declare class DateConverter extends AbstractConverter<string, Date>
Extends: AbstractConverter<string, Date
Constructor | Modifiers | Description |
---|---|---|
(constructor)() | Constructs a new instance of the DateConverter class |
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. |