Searched refs:DI4Y (Results 1 – 2 of 2) sorted by relevance
238 #define DI4Y 1461 /* days_before_year(5); days in 4 years */ macro287 n4 = n / DI4Y; in ord_to_ymd()288 n = n % DI4Y; in ord_to_ymd()4889 assert(DI4Y == 4 * 365 + 1); in initdatetime()4890 assert(DI4Y == days_before_year(4+1)); in initdatetime()4901 assert(DI100Y == 25 * DI4Y - 1); in initdatetime()
277 #define DI4Y 1461 /* days_before_year(5); days in 4 years */ macro326 n4 = n / DI4Y; in ord_to_ymd()327 n = n % DI4Y; in ord_to_ymd()6683 Py_BUILD_ASSERT(DI4Y == 4 * 365 + 1); in PyInit__datetime()6684 assert(DI4Y == days_before_year(4+1)); in PyInit__datetime()6695 Py_BUILD_ASSERT(DI100Y == 25 * DI4Y - 1); in PyInit__datetime()