Namespace: date

ix. date

Extends

Methods

<static> getISO8601Week(year, month, day) → {Number}

Retrieve the week based on ISO 8601 specification.

Parameters:
Name Type Description
year Number
month Number
day Number
Returns:

week

Type
Number

<static> isDayInMonth(day, month, year) → {Boolean}

Checks if a day even exists in the given year and month (based on extrapolated Gregorian Calendar).

Parameters:
Name Type Description
day Number

The day, like specified in JavaScript Date.

month Number

The month, like specified in JavaScript Date.

year Number

The year, like specified in JavaScript Date.

Throws:
InvalidArgumentException
Returns:
Type
Boolean

<static> isExtrapolatedGregorianLeapYear(year) → {Boolean}

Check for leap year based on the extrapolated Gregorian Calendar.

Parameters:
Name Type Description
year Number
Throws:
InvalidArgumentException
Returns:
Type
Boolean