Lines Matching refs:hours
163 'hours': '{:02d}',
190 hh, mm = divmod(off, timedelta(hours=1))
233 h, rest = divmod(offset, timedelta(hours=1))
449 td = timedelta(hours=tz_comps[0], minutes=tz_comps[1],
512 "-timedelta(hours=24) and timedelta(hours=24)" %
593 milliseconds=0, minutes=0, hours=0, weeks=0):
610 seconds += minutes*60 + hours*3600
889 timedelta.max = timedelta(days=999999999, hours=23, minutes=59, seconds=59,
1482 h, m = divmod(timedelta(hours=self.hour, minutes=self.minute) - tzoff,
1483 timedelta(hours=1))
1525 terms of the time to include. Valid options are 'auto', 'hours',
1763 # 23 hours at 1969-09-30 13:00:00 in Kwajalein.
1764 # Let's probe 24 hours in the past to detect a transition:
2022 terms of the time to include. Valid options are 'auto', 'hours',
2186 hours=self._hour,
2313 "strictly between -timedelta(hours=24) and "
2314 "timedelta(hours=24).")
2344 >>> tz = timezone(timedelta(hours=-5), 'EST')
2390 _maxoffset = timedelta(hours=24, microseconds=-1)
2402 hours, rest = divmod(delta, timedelta(hours=1))
2407 return (f'UTC{sign}{hours:02d}:{minutes:02d}:{seconds:02d}'
2410 return f'UTC{sign}{hours:02d}:{minutes:02d}:{seconds:02d}'
2411 return f'UTC{sign}{hours:02d}:{minutes:02d}'
2418 timezone.min = timezone._create(-timedelta(hours=23, minutes=59))
2419 timezone.max = timezone._create(timedelta(hours=23, minutes=59))
2480 # less than 24 hours. For that reason, if y is firmly in std time, (y+k).d must
2496 # time jumps from 1:59 to 3:00, and wall hours of the form 2:MM don't make good
2574 # UTC hours 5:MM and 6:MM to 1:MM Eastern. The result is ambiguous