Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Dates

Index

Constructors

constructor

Methods

createDate

  • Creates a new date object using the provided date params.

    group

    create

    shortname

    create date

    drawable

    false

    Parameters

    Returns Date

    date

createDateUTC

  • Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.

    group

    create

    shortname

    create utc date

    drawable

    false

    Parameters

    Returns Date

    date

createFromUnixTimeStamp

  • Creates a new date object using the provided unix time stamp.

    group

    create

    shortname

    create from unix timestamp

    drawable

    false

    Parameters

    Returns Date

    date

getDayOfMonth

  • getDayOfMonth(inputs: DateDto): number
  • Gets the day-of-the-month, using local time.

    group

    get

    shortname

    get date of month

    drawable

    false

    Parameters

    Returns number

    date

getHours

  • getHours(inputs: DateDto): number
  • Gets the hours in a date, using local time.

    group

    get

    shortname

    get hours

    drawable

    false

    Parameters

    Returns number

    hours

getMilliseconds

  • getMilliseconds(inputs: DateDto): number
  • Gets the milliseconds of a Date, using local time.

    group

    get

    shortname

    get milliseconds

    drawable

    false

    Parameters

    Returns number

    milliseconds

getMinutes

  • getMinutes(inputs: DateDto): number
  • Gets the minutes of a Date object, using local time.

    group

    get

    shortname

    get minutes

    drawable

    false

    Parameters

    Returns number

    minutes

getMonth

  • getMonth(inputs: DateDto): number
  • Gets the month, using local time.

    group

    get

    shortname

    get month

    drawable

    false

    Parameters

    Returns number

    month

getSeconds

  • getSeconds(inputs: DateDto): number
  • Gets the seconds of a Date object, using local time.

    group

    get

    shortname

    get seconds

    drawable

    false

    Parameters

    Returns number

    seconds

getTime

  • Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC.

    group

    get

    shortname

    get time

    drawable

    false

    Parameters

    Returns number

    time

getUTCDay

  • getUTCDay(inputs: DateDto): number
  • Gets the day-of-the-month, using Universal Coordinated Time (UTC).

    group

    get

    shortname

    get utc day

    drawable

    false

    Parameters

    Returns number

    day

getUTCHours

  • getUTCHours(inputs: DateDto): number
  • Gets the hours value in a Date object using Universal Coordinated Time (UTC).

    group

    get

    shortname

    get utc hours

    drawable

    false

    Parameters

    Returns number

    hours

getUTCMilliseconds

  • getUTCMilliseconds(inputs: DateDto): number
  • Gets the milliseconds of a Date object using Universal Coordinated Time (UTC).

    group

    get

    shortname

    get utc milliseconds

    drawable

    false

    Parameters

    Returns number

    milliseconds

getUTCMinutes

  • getUTCMinutes(inputs: DateDto): number
  • Gets the minutes of a Date object using Universal Coordinated Time (UTC).

    group

    get

    shortname

    get utc minutes

    drawable

    false

    Parameters

    Returns number

    minutes

getUTCMonth

  • getUTCMonth(inputs: DateDto): number
  • Gets the month of a Date object using Universal Coordinated Time (UTC).

    group

    get

    shortname

    get utc month

    drawable

    false

    Parameters

    Returns number

    month

getUTCSeconds

  • getUTCSeconds(inputs: DateDto): number
  • Gets the seconds of a Date object using Universal Coordinated Time (UTC).

    group

    get

    shortname

    get utc seconds

    drawable

    false

    Parameters

    Returns number

    seconds

getUTCYear

  • getUTCYear(inputs: DateDto): number
  • Gets the year using Universal Coordinated Time (UTC).

    group

    get

    shortname

    get utc year

    drawable

    false

    Parameters

    Returns number

    year

getWeekday

  • getWeekday(inputs: DateDto): number
  • Gets the day of the week, using local time.

    group

    get

    shortname

    get weekday

    drawable

    false

    Parameters

    Returns number

    day

getYear

  • Gets the year, using local time.

    group

    get

    shortname

    get year

    drawable

    false

    Parameters

    Returns number

    year

now

  • now(): Date
  • Returns the current date and time.

    group

    create

    shortname

    now

    drawable

    false

    Returns Date

    date

parseDate

  • Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.

    group

    parse

    shortname

    parse date string

    drawable

    false

    Parameters

    Returns number

    the number of milliseconds between that date and midnight, January 1, 1970.

setDayOfMonth

  • Sets the numeric day-of-the-month value of the Date object using local time.

    group

    set

    shortname

    set day of month

    drawable

    false

    Parameters

    Returns Date

    date

setHours

  • Sets the hour value in the Date object using local time.

    group

    set

    shortname

    set hours

    drawable

    false

    Parameters

    Returns Date

    date

setMilliseconds

  • Sets the milliseconds value in the Date object using local time.

    group

    set

    shortname

    set milliseconds

    drawable

    false

    Parameters

    Returns Date

    date

setMinutes

  • Sets the minutes value in the Date object using local time.

    group

    set

    shortname

    set minutes

    drawable

    false

    Parameters

    Returns Date

    date

setMonth

  • Sets the month value in the Date object using local time.

    group

    set

    shortname

    set month

    drawable

    false

    Parameters

    Returns Date

    date

setSeconds

  • Sets the seconds value in the Date object using local time.

    group

    set

    shortname

    set seconds

    drawable

    false

    Parameters

    Returns Date

    date

setTime

  • Sets the date and time value in the Date object.

    group

    set

    shortname

    set time

    drawable

    false

    Parameters

    Returns Date

    date

setUTCDay

  • Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).

    group

    set

    shortname

    set utc day

    drawable

    false

    Parameters

    Returns Date

    date

setUTCHours

  • Sets the hours value in the Date object using Universal Coordinated Time (UTC).

    group

    set

    shortname

    set utc hours

    drawable

    false

    Parameters

    Returns Date

    date

setUTCMilliseconds

  • Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).

    group

    set

    shortname

    set utc milliseconds

    drawable

    false

    Parameters

    Returns Date

    date

setUTCMinutes

  • Sets the minutes value in the Date object using Universal Coordinated Time (UTC).

    group

    set

    shortname

    set utc minutes

    drawable

    false

    Parameters

    Returns Date

    date

setUTCMonth

  • Sets the month value in the Date object using Universal Coordinated Time (UTC).

    group

    set

    shortname

    set utc month

    drawable

    false

    Parameters

    Returns Date

    date

setUTCSeconds

  • Sets the seconds value in the Date object using Universal Coordinated Time (UTC).

    group

    set

    shortname

    set utc seconds

    drawable

    false

    Parameters

    Returns Date

    date

setUTCYear

  • Sets the year value in the Date object using Universal Coordinated Time (UTC).

    group

    set

    shortname

    set utc year

    drawable

    false

    Parameters

    Returns Date

    date

setYear

  • Sets the year of the Date object using local time.

    group

    set

    shortname

    set year

    drawable

    false

    Parameters

    Returns Date

    date

toDateString

  • toDateString(inputs: DateDto): string
  • Returns a date as a string value.

    group

    convert

    shortname

    date to string

    drawable

    false

    Parameters

    Returns string

    date as string

toISOString

  • toISOString(inputs: DateDto): string
  • Returns a date as a string value in ISO format.

    group

    convert

    shortname

    date to iso string

    drawable

    false

    Parameters

    Returns string

    date as string

toJSON

  • Returns a date as a string value in JSON format.

    group

    convert

    shortname

    date to json

    drawable

    false

    Parameters

    Returns string

    date as string

toString

  • toString(inputs: DateDto): string
  • Returns a string representation of a date. The format of the string depends on the locale.

    group

    convert

    shortname

    date to locale string

    drawable

    false

    Parameters

    Returns string

    date as string

toTimeString

  • toTimeString(inputs: DateDto): string
  • Returns a time as a string value.

    group

    convert

    shortname

    date to time string

    drawable

    false

    Parameters

    Returns string

    time as string

toUTCString

  • toUTCString(inputs: DateDto): string
  • Returns a date converted to a string using Universal Coordinated Time (UTC).

    group

    convert

    shortname

    date to utc string

    drawable

    false

    Parameters

    Returns string

    date as utc string

Generated using TypeDoc