Lines Matching refs:toordinal
384 date.max.toordinal()``. For any date *d*, ``date.fromordinal(d.toordinal()) ==
459 In other words, ``date1 < date2`` if and only if ``date1.toordinal() <
460 date2.toordinal()``. In order to stop comparison from falling back to the
487 d.weekday(), yday, -1))``, where ``yday = d.toordinal() - date(d.year, 1,
488 1).toordinal() + 1`` is the day number within the current year starting with
492 .. method:: date.toordinal()
496 ``date.fromordinal(d.toordinal()) == d``.
714 <= ordinal <= datetime.max.toordinal()``. The hour, minute, second and
969 d.toordinal() - date(d.year, 1, 1).toordinal() + 1`` is the day number within
991 .. method:: datetime.toordinal()
994 ``self.date().toordinal()``.