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()
260 #define DI4Y 1461 /* days_before_year(5); days in 4 years */ macro309 n4 = n / DI4Y; in ord_to_ymd()310 n = n % DI4Y; in ord_to_ymd()6444 Py_BUILD_ASSERT(DI4Y == 4 * 365 + 1); in PyInit__datetime()6445 assert(DI4Y == days_before_year(4+1)); in PyInit__datetime()6456 Py_BUILD_ASSERT(DI100Y == 25 * DI4Y - 1); in PyInit__datetime()