/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
Dates.py | 51 _DAYS_IN_MONTH = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]
55 for dim in _DAYS_IN_MONTH:
73 def _days_in_month(month, year): # number of days in month of year
function 75 return _DAYS_IN_MONTH[month-1]
111 dbm = dbm - _days_in_month(month, year)
124 dim = _days_in_month(month, year)
|
/external/python/cpython2/Demo/classes/ |
Dates.py | 51 _DAYS_IN_MONTH = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ] 55 for dim in _DAYS_IN_MONTH: 73 def _days_in_month(month, year): # number of days in month of year function 75 return _DAYS_IN_MONTH[month-1] 111 dbm = dbm - _days_in_month(month, year) 124 dim = _days_in_month(month, year)
|
/external/python/cpython3/Lib/ |
datetime.py | 27 _DAYS_IN_MONTH = [-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] 31 for dim in _DAYS_IN_MONTH[1:]: 45 def _days_in_month(year, month): function 50 return _DAYS_IN_MONTH[month] 60 dim = _days_in_month(year, month) 136 preceding -= _DAYS_IN_MONTH[month] + (month == 2 and leapyear) 138 assert 0 <= n < _days_in_month(year, month) 286 dim = _days_in_month(year, month) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
datetimemodule.c | 165 static int _days_in_month[] = {
variable 197 return _days_in_month[month];
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
datetimemodule.c | 165 static int _days_in_month[] = {
variable 197 return _days_in_month[month];
[all...] |
/external/python/cpython2/Modules/ |
datetimemodule.c | 165 static int _days_in_month[] = { variable 197 return _days_in_month[month]; [all...] |
/external/python/cpython3/Modules/ |
_datetimemodule.c | 193 static const int _days_in_month[] = { variable 225 return _days_in_month[month]; [all...] |