HomeSort by relevance Sort by last modified time
    Searched refs:MINYEAR (Results 1 - 12 of 12) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_datetime.py 13 from datetime import MINYEAR, MAXYEAR
37 self.assertEqual(datetime.MINYEAR, 1)
581 for year in xrange(MINYEAR, MAXYEAR+1, 7):
634 self.theclass(MINYEAR, 1, 1) # no exception
636 self.assertRaises(ValueError, self.theclass, MINYEAR-1, 1, 1)
    [all...]
  /external/python/cpython2/Lib/test/
test_datetime.py 13 from datetime import MINYEAR, MAXYEAR
37 self.assertEqual(datetime.MINYEAR, 1)
581 for year in xrange(MINYEAR, MAXYEAR+1, 7):
634 self.theclass(MINYEAR, 1, 1) # no exception
636 self.assertRaises(ValueError, self.theclass, MINYEAR-1, 1, 1)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_datetime.py 13 from datetime import MINYEAR, MAXYEAR
37 self.assertEqual(datetime.MINYEAR, 1)
581 for year in xrange(MINYEAR, MAXYEAR+1, 7):
634 self.theclass(MINYEAR, 1, 1) # no exception
636 self.assertRaises(ValueError, self.theclass, MINYEAR-1, 1, 1)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_datetime.py 13 from datetime import MINYEAR, MAXYEAR
37 self.assertEqual(datetime.MINYEAR, 1)
581 for year in xrange(MINYEAR, MAXYEAR+1, 7):
634 self.theclass(MINYEAR, 1, 1) # no exception
636 self.assertRaises(ValueError, self.theclass, MINYEAR-1, 1, 1)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_datetime.py 13 from datetime import MINYEAR, MAXYEAR
37 self.assertEqual(datetime.MINYEAR, 1)
581 for year in xrange(MINYEAR, MAXYEAR+1, 7):
634 self.theclass(MINYEAR, 1, 1) # no exception
636 self.assertRaises(ValueError, self.theclass, MINYEAR-1, 1, 1)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_datetime.py 13 from datetime import MINYEAR, MAXYEAR
37 self.assertEqual(datetime.MINYEAR, 1)
581 for year in xrange(MINYEAR, MAXYEAR+1, 7):
634 self.theclass(MINYEAR, 1, 1) # no exception
636 self.assertRaises(ValueError, self.theclass, MINYEAR-1, 1, 1)
    [all...]
  /external/python/cpython3/Lib/
datetime.py 13 MINYEAR = 1
282 if not MINYEAR <= year <= MAXYEAR:
283 raise ValueError('year must be in %d..%d' % (MINYEAR, MAXYEAR), year)
    [all...]
  /external/python/cpython3/Lib/test/
datetimetester.py 26 from datetime import MINYEAR, MAXYEAR
60 self.assertEqual(datetime.MINYEAR, 1)
69 allowed = set(['MAXYEAR', 'MINYEAR', 'date', 'datetime',
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
datetimemodule.c 33 #define MINYEAR 1
222 * here. But so long as MINYEAR is 1, the smallest year this
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 33 #define MINYEAR 1
222 * here. But so long as MINYEAR is 1, the smallest year this
382 if (year < MINYEAR || year > MAXYEAR) {
550 if (MINYEAR <= *y && *y <= MAXYEAR)
    [all...]
  /external/python/cpython2/Modules/
datetimemodule.c 33 #define MINYEAR 1
222 * here. But so long as MINYEAR is 1, the smallest year this
382 if (year < MINYEAR || year > MAXYEAR) {
550 if (MINYEAR <= *y && *y <= MAXYEAR)
    [all...]
  /external/python/cpython3/Modules/
_datetimemodule.c 40 #define MINYEAR 1
250 * here. But so long as MINYEAR is 1, the smallest year this
404 if (year < MINYEAR || year > MAXYEAR) {
566 if (MINYEAR <= *y && *y <= MAXYEAR)
    [all...]

Completed in 280 milliseconds