/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_datetime.py | 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)
[all...] |
/external/python/cpython2/Lib/test/ |
test_datetime.py | 13 from datetime import MINYEAR, MAXYEAR 38 self.assertEqual(datetime.MAXYEAR, 9999) 621 for year in xrange(MINYEAR, MAXYEAR+1, 7): 675 self.theclass(MAXYEAR, 1, 1) # no exception 677 self.assertRaises(ValueError, self.theclass, MAXYEAR+1, 1, 1) [all...] |
test_calendar.py | 290 # ensure itermonthdates doesn't overflow after datetime.MAXYEAR 292 list(calendar.Calendar().itermonthdates(datetime.MAXYEAR, 12)) [all...] |
/external/python/dateutil/dateutil/ |
rrule.py | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
datetimemodule.c | 34 #define MAXYEAR 9999
382 if (year < MINYEAR || year > MAXYEAR) {
550 if (MINYEAR <= *y && *y <= MAXYEAR)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
datetimemodule.c | 34 #define MAXYEAR 9999
382 if (year < MINYEAR || year > MAXYEAR) {
550 if (MINYEAR <= *y && *y <= MAXYEAR)
[all...] |
/external/python/cpython2/Modules/ |
datetimemodule.c | 34 #define MAXYEAR 9999 382 if (year < MINYEAR || year > MAXYEAR) { 550 if (MINYEAR <= *y && *y <= MAXYEAR) [all...] |
/external/python/cpython3/Modules/ |
_datetimemodule.c | 41 #define MAXYEAR 9999 404 if (year < MINYEAR || year > MAXYEAR) { 566 if (MINYEAR <= *y && *y <= MAXYEAR) [all...] |
/external/python/cpython3/Lib/ |
datetime.py | 15 MAXYEAR = 9999 400 if not MINYEAR <= year <= MAXYEAR: 401 raise ValueError('year must be in %d..%d' % (MINYEAR, MAXYEAR), year) [all...] |
calendar.py | 115 if not datetime.MINYEAR <= year <= datetime.MAXYEAR:
|
/external/python/cpython3/Lib/test/ |
datetimetester.py | 27 from datetime import MINYEAR, MAXYEAR 64 self.assertEqual(datetime.MAXYEAR, 9999) 73 allowed = set(['MAXYEAR', 'MINYEAR', 'date', 'datetime', [all...] |
test_calendar.py | [all...] |
/external/python/cpython3/Lib/http/ |
cookiejar.py | 144 if yr > datetime.MAXYEAR: [all...] |