Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ReadonlyDateWithNanoseconds

Hierarchy

Index

Properties

ReadonlyDate

ReadonlyDate: ReadonlyDateConstructor

Optional nanoseconds

nanoseconds: undefined | number

Methods

__@toPrimitive

  • __@toPrimitive(hint: "default"): string
  • __@toPrimitive(hint: "string"): string
  • __@toPrimitive(hint: "number"): number
  • __@toPrimitive(hint: string): string | number
  • Parameters

    • hint: "default"

    Returns string

  • Parameters

    • hint: "string"

    Returns string

  • Parameters

    • hint: "number"

    Returns number

  • Parameters

    • hint: string

    Returns string | number

getDate

  • getDate(): number
  • Returns number

getDay

  • getDay(): number
  • Returns number

getFullYear

  • getFullYear(): number
  • Returns number

getHours

  • getHours(): number
  • Returns number

getMilliseconds

  • getMilliseconds(): number
  • Returns number

getMinutes

  • getMinutes(): number
  • Returns number

getMonth

  • getMonth(): number
  • Returns number

getSeconds

  • getSeconds(): number
  • Returns number

getTime

  • getTime(): number
  • Returns number

getTimezoneOffset

  • getTimezoneOffset(): number
  • Returns number

getUTCDate

  • getUTCDate(): number
  • Returns number

getUTCDay

  • getUTCDay(): number
  • Returns number

getUTCFullYear

  • getUTCFullYear(): number
  • Returns number

getUTCHours

  • getUTCHours(): number
  • Returns number

getUTCMilliseconds

  • getUTCMilliseconds(): number
  • Returns number

getUTCMinutes

  • getUTCMinutes(): number
  • Returns number

getUTCMonth

  • getUTCMonth(): number
  • Returns number

getUTCSeconds

  • getUTCSeconds(): number
  • Returns number

toDateString

  • toDateString(): string
  • Returns string

toISOString

  • toISOString(): string
  • Returns string

toJSON

  • toJSON(key?: any): string
  • Parameters

    • Optional key: any

    Returns string

toLocaleDateString

  • toLocaleDateString(): string
  • toLocaleDateString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string
  • Returns string

  • Parameters

    • Optional locales: string | string[]
    • Optional options: Intl.DateTimeFormatOptions

    Returns string

toLocaleString

  • toLocaleString(): string
  • toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string
  • Returns string

  • Parameters

    • Optional locales: string | string[]
    • Optional options: Intl.DateTimeFormatOptions

    Returns string

toLocaleTimeString

  • toLocaleTimeString(): string
  • toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string
  • Returns string

  • Parameters

    • Optional locales: string | string[]
    • Optional options: Intl.DateTimeFormatOptions

    Returns string

toString

  • toString(): string
  • Returns string

toTimeString

  • toTimeString(): string
  • Returns string

toUTCString

  • toUTCString(): string
  • Returns string

valueOf

  • valueOf(): number
  • Returns number

Generated using TypeDoc