Lines Matching defs:time
17 from datetime import date, datetime, time, timedelta, timezone
261 (time(0), TypeError),
385 t = time(11, 15, 1, 34471, tzinfo=zi)
396 t = time(11, 15, 1, 34471, tzinfo=zi)
522 in the event that the time zone policies in the relevant time zones change.
631 # According to RFC 8536, local times after the last transition time
650 # Test that offsets return None when using a datetime.time
651 t = time(0, tzinfo=zi)
652 with self.subTest("Testing datetime.time"):
660 # If there are no transitions, local time for all timestamps is
662 # otherwise, it is specified by time type 0.
670 # Phantom transition to set time type 0.
709 This actually occurs "in the wild", as some time zones on Ubuntu (at
775 t = time(0, tzinfo=zi)
776 with self.subTest("datetime.time"):
1121 # Austrialian time zone - DST start is chronologically first
1146 # Irish time zone - negative DST
1196 # Permanent daylight saving time is modeled with transitions at 0/0
1964 # On October 28th Morocco set standard time to +01,
2018 # denominated as such in the time zone database