Home
last modified time | relevance | path

Searched refs:new_date (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Ddatetimemodule.c666 #define new_date(year, month, day) \ macro
2423 result = new_date(year, month, day); in add_date_timedelta()
4503 return new_date(GET_YEAR(self), in datetime_getdate()
4810 x = new_date(1, 1, 1); in initdatetime()
4815 x = new_date(MAXYEAR, 12, 31); in initdatetime()
/external/python/cpython3/Modules/
D_datetimemodule.c871 #define new_date(year, month, day) \ macro
6215 return new_date(GET_YEAR(self), in datetime_getdate()
6580 x = new_date(1, 1, 1); in PyInit__datetime()
6585 x = new_date(MAXYEAR, 12, 31); in PyInit__datetime()
/external/python/cpython3/Lib/test/
Ddatetimetester.py1373 new_date = base_date + timedelta(i)
1375 test_cases.append((new_date, new_iso))