Searched refs:new_datetime (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 693 #define new_datetime(y, m, d, hh, mm, ss, us, tzinfo) \ macro 2932 result = new_datetime(y, m, d, hh, mm, ss, us, dt->tzinfo); in tzinfo_fromutc() 2949 result = new_datetime(y, m, d, hh, mm, ss, us, dt->tzinfo); in tzinfo_fromutc() 4093 return new_datetime(year, month, day, in add_datetime_timedelta() 4458 result = new_datetime(y, m, d, hh, mm, ss, us, tzinfo); in datetime_astimezone() 4846 x = new_datetime(1, 1, 1, 0, 0, 0, 0, Py_None); in initdatetime() 4851 x = new_datetime(MAXYEAR, 12, 31, 23, 59, 59, 999999, Py_None); in initdatetime()
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 924 #define new_datetime(y, m, d, hh, mm, ss, us, tzinfo, fold) \ macro 935 dt = new_datetime(year, month, day, hour, minute, second, usecond, in new_datetime_subclass_fold_ex() 5153 return new_datetime(year, month, day, in add_datetime_timedelta() 5671 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5682 utc_time = new_datetime(utc_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 6361 x = new_datetime(1, 1, 1, 0, 0, 0, 0, Py_None, 0); in PyInit__datetime() 6366 x = new_datetime(MAXYEAR, 12, 31, 23, 59, 59, 999999, Py_None, 0); in PyInit__datetime() 6408 PyDateTime_Epoch = new_datetime(1970, 1, 1, 0, 0, 0, 0, in PyInit__datetime()
|