icalendar.tools module#
Utility functions for icalendar.
- icalendar.tools.is_datetime(dt)[source]#
Whether this is a datetime and not just a date.
- Return type:
TypeIs[datetime]
- icalendar.tools.is_pytz(tz)[source]#
Whether the timezone requires localize() and normalize().
- Return type:
- icalendar.tools.is_pytz_dt(dt)[source]#
Whether the time requires localize() and normalize().
- Return type:
TypeIs[datetime]