Lines Matching refs:ymd_to_ord
350 ymd_to_ord(int year, int month, int day) in ymd_to_ord() function
359 return (ymd_to_ord(year, month, day) + 6) % 7; in weekday()
368 int first_day = ymd_to_ord(year, 1, 1); /* ord of 1/1 */ in iso_week1_monday()
554 int ordinal = ymd_to_ord(*y, *m, 1) + in normalize_y_m_d()
3027 int left_ord = ymd_to_ord(GET_YEAR(left), in date_subtract()
3030 int right_ord = ymd_to_ord(GET_YEAR(right), in date_subtract()
3133 int today = ymd_to_ord(year, GET_MONTH(self), GET_DAY(self)); in date_isocalendar()
3217 return PyLong_FromLong(ymd_to_ord(GET_YEAR(self), GET_MONTH(self), in date_toordinal()
4704 ordinal = ymd_to_ord(year, month, day); in utc_to_seconds()
5225 delta_d = ymd_to_ord(GET_YEAR(left), in datetime_subtract()
5228 ymd_to_ord(GET_YEAR(right), in datetime_subtract()
5587 days = ymd_to_ord(GET_YEAR(self), in datetime_hash()