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

/external/python/cpython2/Demo/classes/
H A 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/
H A Ddatetime.py52 def _days_before_month(year, month): function
63 _days_before_month(year, month) +
152 dnum = _days_before_month(y, m) + d
2272 _date_class, _days_before_month, _days_before_year, _days_in_month,
/external/python/cpython2/Modules/
H A Ddatetimemodule.c170 static int _days_before_month[] = { variable
208 days = _days_before_month[month];
313 preceding = (_days_before_month[*month] + (*month > 2 && leapyear));
/external/python/cpython3/Modules/
H A D_datetimemodule.c198 static const int _days_before_month[] = { variable
236 days = _days_before_month[month];
335 preceding = (_days_before_month[*month] + (*month > 2 && leapyear));

Completed in 528 milliseconds