Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Date

Index

Constructors

constructor

Methods

addDays

  • addDays(days: number): void
  • Parameters

    • days: number

    Returns void

addHours

  • addHours(hours: number): void
  • Parameters

    • hours: number

    Returns void

addMinutes

  • addMinutes(minutes: number): void
  • Parameters

    • minutes: number

    Returns void

addSeconds

  • addSeconds(seconds: number): void
  • Parameters

    • seconds: number

    Returns void

getTime

  • getTime(): number
  • Returns number

getUTCData

  • getUTCData(): number
  • Returns number

getUTCDay

  • getUTCDay(): number
  • Returns number

getUTCDayOfYear

  • getUTCDayOfYear(): number
  • Returns number

getUTCFullYear

  • getUTCFullYear(): number
  • Returns number

getUTCHours

  • getUTCHours(): number
  • Returns number

getUTCMilliseconds

  • getUTCMilliseconds(): number
  • Returns number

getUTCMinutes

  • getUTCMinutes(): number
  • Returns number

getUTCMonths

  • getUTCMonths(): number
  • Returns number

getUTCSeconds

  • getUTCSeconds(): number
  • Returns number

getUTCWeekOfYear

  • getUTCWeekOfYear(): number
  • Returns number

Static create

  • create(year: number, month: number, day: number, hours: number, minutes: number, seconds: number, milliseconds: number): Date
  • create(time: number): Date
  • Parameters

    • year: number
    • month: number
    • day: number
    • hours: number
    • minutes: number
    • seconds: number
    • milliseconds: number

    Returns Date

  • Parameters

    • time: number

    Returns Date

Static now

Generated using TypeDoc