Searched refs:DI400Y (Results 1 – 2 of 2) sorted by relevance
240 #define DI400Y 146097 /* days_before_year(401); days in 400 years */ macro272 n400 = ordinal / DI400Y; in ord_to_ymd()273 n = ordinal % DI400Y; in ord_to_ymd()4895 assert(DI400Y == 4 * DI100Y + 1); in initdatetime()4896 assert(DI400Y == days_before_year(400+1)); in initdatetime()
262 #define DI400Y 146097 /* days_before_year(401); days in 400 years */ macro294 n400 = ordinal / DI400Y; in ord_to_ymd()295 n = ordinal % DI400Y; in ord_to_ymd()6450 Py_BUILD_ASSERT(DI400Y == 4 * DI100Y + 1); in PyInit__datetime()6451 assert(DI400Y == days_before_year(400+1)); in PyInit__datetime()