iso library

Functions

dateTimeFromOrdinalDate(int year, int ordinalDate) DateTime
Create a DateTime from a ordinal date of year.
dateTimeFromWeekNumber(int year, int weekNumber, [int weekDay = DateTime.monday]) DateTime
Create a DateTime based on year, ISO 8601 week number, and optional week day.
isLeapYear(int year) bool
True if a year is a leap year.