Expand description
Time conversion and calculation utilities
Functionsยง
- calculate_
timezone_ offset_ seconds - Calculate total seconds for a timezone offset
- calculate_
weekday_ offset - Calculate the day offset for weekday calculations
- convert_
12_ to_ 24_ hour - Convert 12-hour time format to 24-hour format
- is_
valid_ 24_ hour_ time - Check whether the time components form a valid 24-hour clock time.
- is_
valid_ calendar_ date - Check whether the date components form a real calendar date.
- is_
valid_ time - Check whether time components are valid for either 24-hour or AM/PM notation.
- is_
valid_ timezone_ offset - Check whether a timezone offset is in the supported UTC-12:00..=UTC+14:00 range.