HomeSort by relevance Sort by last modified time
    Searched refs:_DAYS_BEFORE_MONTH (Results 1 - 3 of 3) sorted by null

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
Dates.py 53 _DAYS_BEFORE_MONTH = []
56 _DAYS_BEFORE_MONTH.append(dbm)
77 def _days_before_month(month, year): # number of days in year before month function
78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
82 _days_before_month(date.month, date.year) + \
108 dbm = _days_before_month(month, year)
  /external/python/cpython2/Demo/classes/
Dates.py 53 _DAYS_BEFORE_MONTH = []
56 _DAYS_BEFORE_MONTH.append(dbm)
77 def _days_before_month(month, year): # number of days in year before month function
78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
82 _days_before_month(date.month, date.year) + \
108 dbm = _days_before_month(month, year)
  /external/python/cpython3/Lib/
datetime.py 29 _DAYS_BEFORE_MONTH = [-1] # -1 is a placeholder for indexing purposes.
32 _DAYS_BEFORE_MONTH.append(dbm)
52 def _days_before_month(year, month): function
55 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year))
63 _days_before_month(year, month) +
133 preceding = _DAYS_BEFORE_MONTH[month] + (month > 2 and leapyear)
152 dnum = _days_before_month(y, m) + d
    [all...]

Completed in 1012 milliseconds