Home
last modified time | relevance | path

Searched refs:_ymd2ord (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/
Ddatetime.py63 def _ymd2ord(year, month, day): function
157 wday = (_ymd2ord(y, m, d) + 6) % 7
875 first_weekday = _ymd2ord(year, 1, 1) % 7
981 return _ymd2ord(self._year, self._month, self._day)
1081 today = _ymd2ord(self._year, self._month, self._day)
2124 days = _ymd2ord(self.year, self.month, self.day)
2177 firstday = _ymd2ord(year, 1, 1)
2517 _ord2ymd, _time, _time_class, _tzinfo_class, _wrap_strftime, _ymd2ord,
/external/python/cpython3/Lib/zoneinfo/
D_zoneinfo.py580 def _ymd2ord(cls, year, month, day): member in _CalendarOffset
617 ordinal = self._ymd2ord(year, self.m, month_day)