Lines Matching refs:localtime
150 time.asctime(time.localtime(self.t)))
151 self.assertEqual(int(time.mktime(time.localtime(self.t))),
349 time.gmtime(xmas2002), time.localtime(xmas2002)
353 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
358 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
364 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
370 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
384 self.assertEqual(time.localtime(xmas2002).tm_isdst, 1)
400 for func in time.ctime, time.gmtime, time.localtime:
419 lt0 = time.localtime()
420 lt1 = time.localtime(None)
436 tt = time.localtime(t)
537 time.localtime(time_t)
546 self.assertRaises(OSError, time.localtime, invalid_time_t)
550 self.assertRaises(ValueError, time.localtime, float("nan"))
693 lt = time.localtime()
716 new_lt = time.localtime(t); new_lt9 = time.localtime(t9)