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

  /prebuilts/gdb/darwin-x86/lib/python2.7/
_strptime.py 446 julian = datetime_date(year, month, day).toordinal() - \
447 datetime_date(year, 1, 1).toordinal() + 1
450 datetime_result = datetime_date.fromordinal((julian - 1) + datetime_date(year, 1, 1).toordinal())
calendar.py 607 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal()
613 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
  /prebuilts/gdb/linux-x86/lib/python2.7/
_strptime.py 446 julian = datetime_date(year, month, day).toordinal() - \
447 datetime_date(year, 1, 1).toordinal() + 1
450 datetime_result = datetime_date.fromordinal((julian - 1) + datetime_date(year, 1, 1).toordinal())
calendar.py 607 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal()
613 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
_strptime.py 446 julian = datetime_date(year, month, day).toordinal() - \
447 datetime_date(year, 1, 1).toordinal() + 1
450 datetime_result = datetime_date.fromordinal((julian - 1) + datetime_date(year, 1, 1).toordinal())
calendar.py 607 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal()
613 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
_strptime.py 446 julian = datetime_date(year, month, day).toordinal() - \
447 datetime_date(year, 1, 1).toordinal() + 1
450 datetime_result = datetime_date.fromordinal((julian - 1) + datetime_date(year, 1, 1).toordinal())
calendar.py 607 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal()
613 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_datetime.py 568 self.assertEqual(n, d.toordinal())
584 n = d.toordinal()
592 self.assertEqual(d2.toordinal(), n-1)
597 n = self.theclass(year, 1, 1).toordinal()
603 self.assertEqual(d.toordinal(), n)
610 aord = a.toordinal()
617 self.assertEqual(b.toordinal(), aord + 1)
622 aord = a.toordinal()
629 self.assertEqual(b.toordinal(), aord - 1)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_datetime.py 568 self.assertEqual(n, d.toordinal())
584 n = d.toordinal()
592 self.assertEqual(d2.toordinal(), n-1)
597 n = self.theclass(year, 1, 1).toordinal()
603 self.assertEqual(d.toordinal(), n)
610 aord = a.toordinal()
617 self.assertEqual(b.toordinal(), aord + 1)
622 aord = a.toordinal()
629 self.assertEqual(b.toordinal(), aord - 1)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_datetime.py 568 self.assertEqual(n, d.toordinal())
584 n = d.toordinal()
592 self.assertEqual(d2.toordinal(), n-1)
597 n = self.theclass(year, 1, 1).toordinal()
603 self.assertEqual(d.toordinal(), n)
610 aord = a.toordinal()
617 self.assertEqual(b.toordinal(), aord + 1)
622 aord = a.toordinal()
629 self.assertEqual(b.toordinal(), aord - 1)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_datetime.py 568 self.assertEqual(n, d.toordinal())
584 n = d.toordinal()
592 self.assertEqual(d2.toordinal(), n-1)
597 n = self.theclass(year, 1, 1).toordinal()
603 self.assertEqual(d.toordinal(), n)
610 aord = a.toordinal()
617 self.assertEqual(b.toordinal(), aord + 1)
622 aord = a.toordinal()
629 self.assertEqual(b.toordinal(), aord - 1)
    [all...]

Completed in 301 milliseconds