Searched refs:mdays (Results 1 - 5 of 5) sorted by relevance

/external/python/cpython2/Demo/scripts/
H A Dunbirthday.py40 maxday = calendar.mdays[month]
99 days = days + calendar.mdays[i]
/external/webrtc/webrtc/base/
H A Dtimeutils_unittest.cc182 static char mdays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; local
199 tm.tm_mday = rtc::CreateRandomId() % mdays[tm.tm_mon] + 1;
221 tm.tm_mday = mdays[tm.tm_mon] + (leap_year && tm.tm_mon == 1) + 1;
H A Dtimeutils.cc208 static short int mdays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; local
225 if (day < 0 || day >= mdays[month] + (expiry_in_leap_year && month == 2 - 1))
/external/python/cpython2/Lib/
H A Dcalendar.py40 mdays = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] variable
122 ndays = mdays[month] + (month == February and isleap(year))
/external/python/cpython3/Lib/
H A Dcalendar.py43 mdays = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] variable
125 ndays = mdays[month] + (month == February and isleap(year))

Completed in 234 milliseconds