Home
last modified time | relevance | path

Searched refs:_days_before_month (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Demo/classes/
DDates.py77 def _days_before_month(month, year): # number of days in year before month function
82 _days_before_month(date.month, date.year) + \
108 dbm = _days_before_month(month, year)
/external/python/cpython3/Lib/
Ddatetime.py57 def _days_before_month(year, month): function
68 _days_before_month(year, month) +
157 dnum = _days_before_month(y, m) + d
2546 _date_class, _days_before_month, _days_before_year, _days_in_month,
/external/python/cpython2/Modules/
Ddatetimemodule.c170 static int _days_before_month[] = { variable
208 days = _days_before_month[month]; in days_before_month()
313 preceding = (_days_before_month[*month] + (*month > 2 && leapyear)); in ord_to_ymd()
/external/python/cpython3/Modules/
D_datetimemodule.c215 static const int _days_before_month[] = { variable
253 days = _days_before_month[month]; in days_before_month()
352 preceding = (_days_before_month[*month] + (*month > 2 && leapyear)); in ord_to_ymd()