Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/
Dcpdfsdk_datetime.cpp336 int mdays; in AddDays() local
341 mdays = GetMonthDays(y, m); in AddDays()
342 if (d > mdays) { in AddDays()
344 d -= mdays; in AddDays()
348 mdays = GetMonthDays(y, m) - d + 1; in AddDays()
349 while (ldays >= mdays) { in AddDays()
350 ldays -= mdays; in AddDays()
353 mdays = GetMonthDays(y, m); in AddDays()
366 int mdays = GetMonthDays(y, m); in AddDays() local
367 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/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))