Lines Matching refs:MAXYEAR
27 from datetime import MINYEAR, MAXYEAR
64 self.assertEqual(datetime.MAXYEAR, 9999)
1032 for year in range(MINYEAR, MAXYEAR+1, 7):
1086 self.theclass(MAXYEAR, 1, 1) # no exception
1088 self.assertRaises(ValueError, self.theclass, MAXYEAR+1, 1, 1)
1939 dt1 = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999998)
1959 self.theclass(MAXYEAR, 1, 1) # no exception
1961 self.assertRaises(ValueError, self.theclass, MAXYEAR+1, 1, 1)
3797 t2 = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
3925 t = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
4032 max = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999999,
4244 huge = cls(MAXYEAR, 12, 31, 23, 59, 37, 999999, tzinfo=UOFS(-1439))