Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DateTime

Implements

Index

Constructors

constructor

Properties

Readonly time

time: number

Readonly zone

zone: TimeZone

Accessors

day

  • get day(): number

hour

  • get hour(): number

millisecond

  • get millisecond(): number

minute

  • get minute(): number

month

  • get month(): number

second

  • get second(): number

weekday

  • get weekday(): number

year

  • get year(): number

Methods

compareTo

  • compareTo(that: unknown): number

display

equals

  • equals(that: unknown): boolean

equivalentTo

  • equivalentTo(that: AnyDateTime, epsilon?: number): boolean

hashCode

  • hashCode(): number

interpolateTo

isDefined

  • isDefined(): boolean

toDate

  • toDate(): Date

toString

valueOf

  • valueOf(): number

withDay

  • withDay(day: number, hour?: number, minute?: number, second?: number, millisecond?: number): DateTime

withHour

  • withHour(hour: number, minute?: number, second?: number, millisecond?: number): DateTime

withMillisecond

  • withMillisecond(millisecond: number): DateTime

withMinute

  • withMinute(minute: number, second?: number, millisecond?: number): DateTime

withMonth

  • withMonth(month: number, day?: number, hour?: number, minute?: number, second?: number, millisecond?: number): DateTime

withSecond

  • withSecond(second: number, millisecond?: number): DateTime

withYear

  • withYear(year: number, month?: number, day?: number, hour?: number, minute?: number, second?: number, millisecond?: number): DateTime

Static current

Static form

Static fromAny

Static fromInit

Static fromValue

Static parse

Static time

Static zone

Generated using TypeDoc