Lines Matching refs:yr
151 def _str2time(day, mon, yr, hr, min, sec, tz): argument
152 yr = int(yr)
153 if yr > datetime.MAXYEAR:
181 if yr < 1000:
185 tmp = yr
186 yr = yr + cur_yr - m
189 if m > 0: yr = yr + 100
190 else: yr = yr - 100
193 t = _timegm((yr, mon, day, hr, min, sec, tz))
278 day, mon, yr, hr, min, sec, tz = [None]*7
283 day, mon, yr, hr, min, sec, tz = m.groups()
287 return _str2time(day, mon, yr, hr, min, sec, tz)
323 day, mon, yr, hr, min, sec, tz = [None]*7
330 yr, mon, day, hr, min, sec, tz, _ = m.groups()
334 return _str2time(day, mon, yr, hr, min, sec, tz)