Global

Members

addedTime

The quantum of milliseconds to add or subtract by clicking + or - button.
Source:

askedOptions

asked display options for Intl.DateTimeFormat.
Source:

calendars

Array of available custom calendars.
Source:

(constant) calendrical

Prefix for all calendrical-javascript imported objects. The calendar classes also imported from calendars.js are not described here, as they may change.
Properties:
Name Type Description
pldrDOM Object Private Locale Data Repository as a domain.
TimeUnits Object The time units in milliseconds.
ExtDate Object Extends legacy Date object.
ExtDateTimeFormat Object Extends Intl.DateTimeFormat.
Source:

cusAskedOptions

resolved display options for ExtDateTimeFormat, with the calendar specified by the user.
Source:

customCalIndex

Index of custom calendar currently used.
Source:

dayOffset

The quantum of decimal days to add or subtract by clicking + or - button.
Source:

extAskedOptions

asked display options for ExtDateTimeFormat.
Source:

extUsedOptions

resolved display options for ExtDateTimeFormat.
Source:

(constant) loadCalendrical

This promise aggregates all calendrical-javascript imports and initialisations.
Source:

switchingDate

The first date where the Gregorian calendar was enforced, as set by the user.
Source:

targetDate

The date (instant) to be displayed, initially now.
Source:

TZ

Time zone selector, blank means "system time zone", "UTC" means UTC. These are the only recognised values.
Source:

TZOffset

Computed (real) time zone offset in ms, result may differ from Date.prototype.TZOffset() (in min).
Source:

usedOptions

resolved display options for Intl.DateTimeFormat.
Source:

Methods

addTime(sign)

Add or subtract a quantum of time to targetDate.
Parameters:
Name Type Default Description
sign Number 1 add if +1, subtract if -1, erroneous if other value.
Source:

calcCustom()

Compute date from field values of current custom calendar.
Source:

calcTime()

Set local or UTC time, after global TZ, in same day.
Source:

calcWeek()

Compute date from week field values of current custom calendar.
Source:

changeAddTime()

Change value of addedTime.
Source:

changeDayOffset()

Change value of dayOffset.
Source:

compLocalePresentationCalendar()

Recompute all Intl.DateTimeFormat and ExtDateTimeFormat objects after a change in display parameters.
Source:

getMode()

Initiate TZ variable (time zone mode) after value in HTML document.
Source:

setCalend()

Set current custom calendar to new value and compute fields.
Source:

setDateToNow()

Set date to present instant, with the selected user calendar.
Source:

setDayOffset(sign)

Add or subtract a quantum of days to targetDate.
Parameters:
Name Type Default Description
sign Number 1 add if +1, subtract if -1, erroneous if other value.
Source:

setDisplay()

Recompute and display all date elements and parameters after a change of targetDate or of display parameters.
Source:

setUTCHoursFixed()

Set a simple UTC hour at same date. The date is computed after TZ value.
Source: