Searched refs:MAX_DELTA_DAYS (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | datetimemodule.c | 42 #define MAX_DELTA_DAYS 999999999 macro 367 if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS) in check_delta_day_range() 371 days, MAX_DELTA_DAYS); in check_delta_day_range() 4797 x = new_delta(-MAX_DELTA_DAYS, 0, 0, 0); in initdatetime() 4802 x = new_delta(MAX_DELTA_DAYS, 24*3600-1, 1000000-1, 0); in initdatetime()
|
/external/python/cpython3/Modules/ |
D | _datetimemodule.c | 49 #define MAX_DELTA_DAYS 999999999 macro 389 if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS) in check_delta_day_range() 393 days, MAX_DELTA_DAYS); in check_delta_day_range() 6312 x = new_delta(-MAX_DELTA_DAYS, 0, 0, 0); in PyInit__datetime() 6317 x = new_delta(MAX_DELTA_DAYS, 24*3600-1, 1000000-1, 0); in PyInit__datetime()
|