western_traditional library
Extensions
Functions
-
dateTimeFromOrdinalDate(
int year, int ordinalDate) → DateTime - Create a DateTime from a ordinal date of year.
-
dateTimeFromWeekNumber(
int year, int weekNumber, [int weekDay = DateTime.sunday]) → DateTime - Create a DateTime based on year, western traditional week number, and optional week day.
-
isLeapYear(
int year) → bool - True if a year is a leap year.