Lines Matching refs:toordinal
608 self.assertEqual(n, d.toordinal())
624 n = d.toordinal()
632 self.assertEqual(d2.toordinal(), n-1)
637 n = self.theclass(year, 1, 1).toordinal()
643 self.assertEqual(d.toordinal(), n)
650 aord = a.toordinal()
657 self.assertEqual(b.toordinal(), aord + 1)
662 aord = a.toordinal()
669 self.assertEqual(b.toordinal(), aord - 1)
1150 self.assertEqual(dt1.toordinal(), dt2.toordinal())
1606 t.toordinal() - date(t.year, 1, 1).toordinal() + 1,
1616 self.assertEqual(tt.tm_yday, t.toordinal() -
1617 date(t.year, 1, 1).toordinal() + 1)
1723 self.assertEqual(dt1.toordinal(), dt2.toordinal())
2829 self.assertEqual(d.toordinal() - date(1, 1, 1).toordinal() + 1,