Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Ddatetimemodule.c47 #define GET_DAY PyDateTime_GET_DAY macro
1092 int wday = weekday(GET_YEAR(date), GET_MONTH(date), GET_DAY(date)); in format_ctime()
1096 GET_DAY(date), hours, minutes, seconds, in format_ctime()
1367 GET_YEAR(dt), GET_MONTH(dt), GET_DAY(dt)); in isoformat_date()
2268 return PyInt_FromLong(GET_DAY(self)); in date_day()
2420 int day = GET_DAY(date) + (negate ? -deltadays : deltadays); in add_date_timedelta()
2468 GET_DAY(left)); in date_subtract()
2471 GET_DAY(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.c54 #define GET_DAY PyDateTime_GET_DAY macro
1333 int wday = weekday(GET_YEAR(date), GET_MONTH(date), GET_DAY(date)); in format_ctime()
1337 GET_DAY(date), hours, minutes, seconds, in format_ctime()
2766 return PyLong_FromLong(GET_DAY(self)); in date_day()
2984 int day = GET_DAY(date) + (negate ? -deltadays : deltadays); in add_date_timedelta()
3029 GET_DAY(left)); in date_subtract()
3032 GET_DAY(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 …]