Expand description
Utility functions, including updating time zone information.
Modules§
Enums§
- Whether to adjust the date, and in which direction. Useful when implementing arithmetic.
Functions§
- Get the number of days in the month of a given year.
- Get the number of calendar days in a given year.
- days_
in_ year_ month Deprecated 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.
- refresh_
tz local-offset
Attempt to update time zone information from the system. - refresh_
tz_ ⚠unchecked local-offset
Update time zone information from the system. - Get the number of weeks in the ISO year.