Home
last modified time | relevance | path

Searched refs:_DI400Y (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Demo/classes/
DDates.py85 _DI400Y = _days_before_year(400) # number of days in 400 years variable
95 n400 = (n-1)//_DI400Y # # of 400-year blocks preceding
96 year, n = 400 * n400, n - _DI400Y * n400
/external/python/cpython3/Lib/
Ddatetime.py71 _DI400Y = _days_before_year(401) # number of days in 400 years variable
81 assert _DI400Y == 4 * _DI100Y + 1
111 n400, n = divmod(n, _DI400Y)
2542 del (_DAYNAMES, _DAYS_BEFORE_MONTH, _DAYS_IN_MONTH, _DI100Y, _DI400Y,