Lines Matching defs:time
35 import time
77 # Date/time conversion
95 """Return a string representing time in seconds since epoch, t.
98 time.
114 """Return a string representing time in seconds since epoch, t.
117 time.
182 cur_yr = time.localtime(time.time())[0]
191 # convert UTC time tuple to seconds since epoch (not timezone-adjusted)
195 # adjust time using timezone string, to get absolute time since epoch
233 """Returns time in seconds since epoch of time represented by a string.
237 None is returned if the format of str is unrecognized, the time is outside
254 The parser ignores leading and trailing whitespace. The time may be
276 # tz is time zone specifier string
321 # tz is time zone specifier string
811 if now is None: now = time.time()
1366 self._policy._now = self._now = int(time.time())
1416 # Note: expiry time is normalised to seconds since epoch. V0
1605 self._policy._now = self._now = int(time.time())
1658 self._policy._now = self._now = int(time.time())
1746 now = time.time()
1878 now = time.time()
1910 now = time.time()
2015 now = time.time()
2097 now = time.time()