Searched refs:mdays (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_datetime.cpp | 331 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/ |
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/cpython3/Lib/ |
D | calendar.py | 43 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/ |
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))
|