Searched refs:GET_YEAR (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 45 #define GET_YEAR PyDateTime_GET_YEAR macro 1092 int wday = weekday(GET_YEAR(date), GET_MONTH(date), GET_DAY(date)); in format_ctime() 1097 GET_YEAR(date)); in format_ctime() 1367 GET_YEAR(dt), GET_MONTH(dt), GET_DAY(dt)); in isoformat_date() 2256 return PyInt_FromLong(GET_YEAR(self)); in date_year() 2416 int year = GET_YEAR(date); in add_date_timedelta() 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() 2497 GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_repr() 2581 int dow = weekday(GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_isoweekday() [all …]
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 52 #define GET_YEAR PyDateTime_GET_YEAR macro 1333 int wday = weekday(GET_YEAR(date), GET_MONTH(date), GET_DAY(date)); in format_ctime() 1338 GET_YEAR(date)); in format_ctime() 2754 return PyLong_FromLong(GET_YEAR(self)); in date_year() 2980 int year = GET_YEAR(date); in add_date_timedelta() 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() 3053 GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_repr() 3060 GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_isoformat() 3123 int dow = weekday(GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_isoweekday() [all …]
|