Lines Matching refs:localtime
147 time.asctime(time.localtime(self.t)))
148 self.assertEqual(int(time.mktime(time.localtime(self.t))),
347 time.gmtime(xmas2002), time.localtime(xmas2002)
351 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
356 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
362 self.assertEqual(time.localtime(xmas2002).tm_isdst, 0)
368 self.assertNotEqual(time.gmtime(xmas2002), time.localtime(xmas2002))
382 self.assertEqual(time.localtime(xmas2002).tm_isdst, 1)
398 for func in time.ctime, time.gmtime, time.localtime:
417 lt0 = time.localtime()
418 lt1 = time.localtime(None)
427 tt = time.localtime(t)
529 time.localtime(time_t)
538 self.assertRaises(OSError, time.localtime, invalid_time_t)
542 self.assertRaises(ValueError, time.localtime, float("nan"))
682 lt = time.localtime()
705 new_lt = time.localtime(t); new_lt9 = time.localtime(t9)