Lines Matching refs:timetuple
943 t = d.timetuple()
947 t = d.timetuple()
952 t = d.timetuple()
1045 def timetuple(self): member in TestDate.test_mixed_compare.Comparable
1247 self.assertEqual(t.ctime(), time.ctime(time.mktime(t.timetuple())))
1561 self.assertEqual(t.timetuple(), (2004, 12, 31, 6, 22, 33, 4, 366, -1))
1562 self.assertEqual(t.timetuple(),
1568 tt = t.timetuple()
2734 t = d.timetuple()
2746 self.assertRaises(TypeError, cls(1, 1, 1, tzinfo=DST("x")).timetuple)
2749 self.assertEqual(cls(1,1,1, tzinfo=DST(1439)).timetuple().tm_isdst, 1)
2750 self.assertEqual(cls(1,1,1, tzinfo=DST(-1439)).timetuple().tm_isdst, 1)
2753 self.assertRaises(ValueError, cls(1,1,1, tzinfo=DST(1440)).timetuple)
2754 self.assertRaises(ValueError, cls(1,1,1, tzinfo=DST(-1440)).timetuple)