logo

Module time::util

source · []
Expand description

Utility functions.

Functions

Get the number of calendar days in a given year.

Get the number of days in the month of a given year.

Returns if the provided year is a leap year in the proleptic Gregorian calendar. Uses astronomical year numbering.

Get the number of weeks in the ISO year.