Lines Matching refs:toordinal
514 date.max.toordinal()``. For any date *d*,
515 ``date.fromordinal(d.toordinal()) == d``.
610 In other words, ``date1 < date2`` if and only if ``date1.toordinal() <
611 date2.toordinal()``. Date comparison raises :exc:`TypeError` if
647 where ``yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1``
651 .. method:: date.toordinal()
655 ``date.fromordinal(d.toordinal()) == d``.
964 <= ordinal <= datetime.max.toordinal()``. The hour, minute, second and
1316 where ``yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1``
1347 .. method:: datetime.toordinal()
1350 ``self.date().toordinal()``.