ConstConverts from Rata Die (R.D. number) to Gregorian date. Alias for the top-level abs2greg.
Number of days in the Gregorian month for given year. Alias for the top-level daysInGregMonth.
Gregorian month (1=January, 12=December)
Gregorian year
Converts Gregorian date to absolute R.D. (Rata Die) days. Alias for the top-level greg2abs.
Returns true if the object is a Javascript Date.
Alias for the top-level isDate.
Returns true if the Gregorian year is a leap year. Alias for the top-level isGregLeapYear.
Gregorian year
Gregorian date helper functions.
These are aliases retained for backwards compatibility. Each member simply forwards to the identically-behaving top-level function, which is the preferred form in new code because it tree-shakes cleanly:
greg.abs2greggreg.daysInMonthgreg.greg2absgreg.isDategreg.isLeapYear