Calendar's ID.
Calendar's type (Gregorian, Chiness, Persian, Islamic, ...). It is possible that you have multiple calendars with the same type and different ID's (multiple implementations for a specific calendar).
Adds a period of time to a timestamp and returns the resulting timestamp.
Adds the specified number of months to the given timestamp and returns the resulting timestamp.
timestamp
Adds the specified number of years to the given timestamp and returns the resulting timestamp.
timestamp
Gets the day of the year (1 to 366).
timestamp
Returns the number of days in the given year and month. The month count starts with 1, up to 12.
Returns the number of days in the given year.
year
Returns a timestamp equivalent to the given DateTimeUnits
DateTimeUnits
Returns a DateTimeUnits(year, month, ...) equivalent to the given timestamp
timestamp
Returns true if this DateTime is in a leap year, false otherwise.
year
Returns true if the given date is valid, otherwise returns false.
Subtracts a period of time from a timestamp and returns the resulting timestamp.
Gets the ISO day of the week (Monday = 1, ..., Sunday = 7).
Gets the week number of the week year (1 to 52).
timestamp
Generated using TypeDoc
A base class for all calendars.