Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DateTimeConverter

Hierarchy

Index

Properties

Static type

type: Type = Types.DateTime

Methods

canConvertFrom

  • canConvertFrom(srcType: Type): boolean

canStringify

  • canStringify(): boolean

convertFrom

  • convertFrom(obj: any, srcType: Type): any

deserialize

  • deserialize(value: number): Date

fromString

  • fromString(str: string): Date | never

inferInstanceOf

  • inferInstanceOf(obj: any): number

isValid

  • isValid(obj: Object): boolean

serialize

  • serialize(value: Date): number

toString

  • toString(obj: Date): string

tryFromString

  • tryFromString(str: string): any

Generated using TypeDoc