Lines Matching refs:MAXYEAR
13 from datetime import MINYEAR, MAXYEAR
38 self.assertEqual(datetime.MAXYEAR, 9999)
581 for year in xrange(MINYEAR, MAXYEAR+1, 7):
635 self.theclass(MAXYEAR, 1, 1) # no exception
637 self.assertRaises(ValueError, self.theclass, MAXYEAR+1, 1, 1)
1261 dt1 = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999998)
1281 self.theclass(MAXYEAR, 1, 1) # no exception
1283 self.assertRaises(ValueError, self.theclass, MAXYEAR+1, 1, 1)
2426 t2 = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
2512 t = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
2621 max = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
2808 huge = cls(MAXYEAR, 12, 31, 23, 59, 37, 999999, tzinfo=UOFS(-1439))
2811 self.assertEqual(t.tm_year, MAXYEAR+1)