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()
279 #define DI400Y 146097 /* days_before_year(401); days in 400 years */ macro311 n400 = ordinal / DI400Y; in ord_to_ymd()312 n = ordinal % DI400Y; in ord_to_ymd()6689 Py_BUILD_ASSERT(DI400Y == 4 * DI100Y + 1); in PyInit__datetime()6690 assert(DI400Y == days_before_year(400+1)); in PyInit__datetime()