Searched refs:mdays (Results 1 – 5 of 5) sorted by relevance
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_datetime.cpp | 336 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/ |
D | unbirthday.py | 40 maxday = calendar.mdays[month] 99 days = days + calendar.mdays[i]
|
/external/webrtc/webrtc/base/ |
D | timeutils_unittest.cc | 182 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()
|
D | timeutils.cc | 208 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/ |
D | calendar.py | 40 mdays = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] variable 122 ndays = mdays[month] + (month == February and isleap(year))
|