Home
last modified time | relevance | path

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

/external/python/cpython2/Demo/classes/
DDates.py51 _DAYS_IN_MONTH = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ] variable
55 for dim in _DAYS_IN_MONTH:
75 return _DAYS_IN_MONTH[month-1]
/external/python/cpython3/Lib/
Ddatetime.py32 _DAYS_IN_MONTH = [-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] variable
36 for dim in _DAYS_IN_MONTH[1:]:
55 return _DAYS_IN_MONTH[month]
141 preceding -= _DAYS_IN_MONTH[month] + (month == 2 and leapyear)
2542 del (_DAYNAMES, _DAYS_BEFORE_MONTH, _DAYS_IN_MONTH, _DI100Y, _DI400Y,