Lines Matching defs:time
10 import time
64 return time.gmtime(http2time(text))[:6]
90 '03-Feb-94', # old rfc850 HTTP format (no weekday, no time)
91 '03-Feb-1994', # broken rfc850 HTTP format (no weekday, no time)
92 '03 Feb 1994', # proposed new HTTP format (no weekday, no time)
133 # If we regress to cubic complexity, this test will take a very long time to succeed.
140 return time.gmtime(iso2time(text))[:6]
146 # ISO 8601 with time behind UTC
150 # ISO 8601 with time ahead of UTC
196 # If ISO_DATE_RE regresses to quadratic complexity, this test will take a very long time to succeed.
490 ## starts hurting every time I think of that code).
657 future = time2netscape(time.time()+3600)
670 now = time2netscape(time.time()-1)
1403 future = time2netscape(time.time()+3600)
1468 year_plus_one = time.localtime()[0] + 1
1852 year_plus_one = time.localtime()[0] + 1
1976 year_plus_one = time.localtime()[0] + 1