Lines Matching refs:toordinal
1123 self.assertEqual(n, d.toordinal())
1139 n = d.toordinal()
1147 self.assertEqual(d2.toordinal(), n-1)
1152 n = self.theclass(year, 1, 1).toordinal()
1158 self.assertEqual(d.toordinal(), n)
1165 aord = a.toordinal()
1172 self.assertEqual(b.toordinal(), aord + 1)
1177 aord = a.toordinal()
1184 self.assertEqual(b.toordinal(), aord - 1)
1729 self.assertEqual(dt1.toordinal(), dt2.toordinal())
2655 t.toordinal() - date(t.year, 1, 1).toordinal() + 1,
2665 self.assertEqual(tt.tm_yday, t.toordinal() -
2666 date(t.year, 1, 1).toordinal() + 1)
2805 self.assertEqual(dt1.toordinal(), dt2.toordinal())
4462 self.assertEqual(d.toordinal() - date(1, 1, 1).toordinal() + 1,
5658 EPOCHORDINAL = date(1970, 1, 1).toordinal()
5668 timestamp = ((dt.toordinal() - self.EPOCHORDINAL) * 86400
5691 timestamp = ((dt.toordinal() - self.EPOCHORDINAL) * 86400