Lines Matching refs:ymd_to_ord
328 ymd_to_ord(int year, int month, int day) in ymd_to_ord() function
337 return (ymd_to_ord(year, month, day) + 6) % 7; in weekday()
346 int first_day = ymd_to_ord(year, 1, 1); /* ord of 1/1 */ in iso_week1_monday()
538 int ordinal = ymd_to_ord(*y, *m, 1) + in normalize_y_m_d()
2466 int left_ord = ymd_to_ord(GET_YEAR(left), in date_subtract()
2469 int right_ord = ymd_to_ord(GET_YEAR(right), in date_subtract()
2591 int today = ymd_to_ord(year, GET_MONTH(self), GET_DAY(self)); in date_isocalendar()
2684 return PyInt_FromLong(ymd_to_ord(GET_YEAR(self), GET_MONTH(self), in date_toordinal()
4144 delta_d = ymd_to_ord(GET_YEAR(left), in datetime_subtract()
4147 ymd_to_ord(GET_YEAR(right), in datetime_subtract()
4368 days = ymd_to_ord(GET_YEAR(self), in datetime_hash()