Searched refs:_ymd2ord (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/ |
D | datetime.py | 62 def _ymd2ord(year, month, day): function 156 wday = (_ymd2ord(y, m, d) + 6) % 7 906 first_weekday = _ymd2ord(year, 1, 1) % 7 1012 return _ymd2ord(self._year, self._month, self._day) 1112 today = _ymd2ord(self._year, self._month, self._day) 2155 days = _ymd2ord(self.year, self.month, self.day) 2208 firstday = _ymd2ord(year, 1, 1) 2548 _ord2ymd, _time, _time_class, _tzinfo_class, _wrap_strftime, _ymd2ord,
|
/external/python/cpython3/Lib/zoneinfo/ |
D | _zoneinfo.py | 580 def _ymd2ord(cls, year, month, day): member in _CalendarOffset 617 ordinal = self._ymd2ord(year, self.m, month_day)
|