Hierarchy

  • DateOnly

Index

Constructors

constructor

Accessors

day

  • get day(): number
  • Returns number

month

  • get month(): number
  • Returns number

year

  • get year(): number
  • Returns number

Static maxValue

Static minValue

Static now

Methods

subtract

toDateTime

toODate

  • toODate(): number
  • Returns number

toString

  • toString(format?: string): string
  • Parameters

    • Default value format: string = "d"

    Returns string

Static fromDateTime

Static parse

Static tryParse

  • tryParse(s: string, refResult: object): boolean
  • Parameters

    • s: string
    • refResult: object

    Returns boolean

Generated using TypeDoc