Global

Methods

calcCustomDate()

Set date following custom calendar.
Source:

calcJulianDay()

Julian Day is specified as a decimal number. Insert with the suitable Date setter.
Source:

calcTime()

Recompute date after time elements.
Source:

calcWeek()

Set date after week indication.
Source:

setDateToNow()

set current target date new to current custom calendar and to Now
Source:

setDateToToday(TZ)

Compute date of now, local or UTC; result is UTC date at 00:00. For date converter and yearly figures.
Parameters:
Name Type Description
TZ string if unspecified, date is in local time zone. If "UTC", date is in Greenwich time zone.
Source:

setUTCHoursFixed(UTChours)

Set UTC time to the hours specified. Date is deemed in time zone specified in TZ global variable.
Parameters:
Name Type Default Description
UTChours number 0 The time (number of hours) in UTC time zone.
Source:

undef(param) → {any}

A utility for the undefined fields
Parameters:
Name Type Description
param String any parameter that can be equated to a String.
Source:
Returns:
undefined if param is blank string, param otherwise.
Type
any