Utility functions for working with dates.

Available since

1.0.0

.

Static methods

staticgetDaysInMonth(month:Int, ?year:Int):Int

Returns the number of days in the specified month (with an optional year that may be used in February to determine leap years).

Available since

1.0.0

.

staticisLeapYear(year:Int):Bool

Determines if the specified year is a leap year.

Available since

1.0.0

.