Expand description
Utility functions, including updating time zone information.
Functions§
- days_
in_ month - Get the number of days in the month of a given year.
- days_
in_ 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.
- is_
leap_ 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.
- weeks_
in_ year - Get the number of weeks in the ISO year.