Home
last modified time | relevance | path

Searched refs:mdays (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/fpdfsdk/
Dcpdfsdk_datetime.cpp331 int mdays; in AddDays() local
336 mdays = GetMonthDays(y, m); in AddDays()
337 if (d > mdays) { in AddDays()
339 d -= mdays; in AddDays()
343 mdays = GetMonthDays(y, m) - d + 1; in AddDays()
344 while (ldays >= mdays) { in AddDays()
345 ldays -= mdays; in AddDays()
348 mdays = GetMonthDays(y, m); in AddDays()
361 int mdays = GetMonthDays(y, m); in AddDays() local
362 if (d > mdays) { in AddDays()
[all …]
/external/python/cpython2/Demo/scripts/
Dunbirthday.py40 maxday = calendar.mdays[month]
99 days = days + calendar.mdays[i]
/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc182 static char mdays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; in TestTmToSeconds() local
199 tm.tm_mday = rtc::CreateRandomId() % mdays[tm.tm_mon] + 1; in TestTmToSeconds()
221 tm.tm_mday = mdays[tm.tm_mon] + (leap_year && tm.tm_mon == 1) + 1; in TestTmToSeconds()
Dtimeutils.cc208 static short int mdays[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; in TmToSeconds() local
225 if (day < 0 || day >= mdays[month] + (expiry_in_leap_year && month == 2 - 1)) in TmToSeconds()
/external/python/cpython3/Lib/
Dcalendar.py43 mdays = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] variable
126 ndays = mdays[month] + (month == February and isleap(year))
131 return mdays[month] + (month == February and isleap(year))
/external/python/cpython2/Lib/
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))