Home
last modified time | relevance | path

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

/external/python/cpython2/Demo/classes/
DDates.py53 _DAYS_BEFORE_MONTH = [] variable
56 _DAYS_BEFORE_MONTH.append(dbm)
78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
/external/python/cpython3/Lib/
Ddatetime.py30 _DAYS_BEFORE_MONTH = [-1] # -1 is a placeholder for indexing purposes. variable
33 _DAYS_BEFORE_MONTH.append(dbm)
56 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year))
134 preceding = _DAYS_BEFORE_MONTH[month] + (month > 2 and leapyear)
2459 del (_DAYNAMES, _DAYS_BEFORE_MONTH, _DAYS_IN_MONTH, _DI100Y, _DI400Y,