Home
last modified time | relevance | path

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

/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Ddate-format-xparb.js293 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
295 num += Date.daysInMonth[i];
321 var day = (this.getDay() + (Date.daysInMonth[this.getMonth()] - this.getDate())) % 7;
326 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
327 return Date.daysInMonth[this.getMonth()];
362 Date.daysInMonth = [31,28,31,30,31,30,31,31,30,31,30,31];
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Ddate-format-xparb.js293 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
295 num += Date.daysInMonth[i];
321 var day = (this.getDay() + (Date.daysInMonth[this.getMonth()] - this.getDate())) % 7;
326 Date.daysInMonth[1] = this.isLeapYear() ? 29 : 28;
327 return Date.daysInMonth[this.getMonth()];
362 Date.daysInMonth = [31,28,31,30,31,30,31,31,30,31,30,31];
/external/chromium/base/third_party/nspr/
Dprtime.cc324 int daysInMonth; in PR_NormalizeTime() local
396 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
397 while (time->tm_mday > daysInMonth) { in PR_NormalizeTime()
399 time->tm_mday -= daysInMonth; in PR_NormalizeTime()
405 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
/external/webkit/Source/WebCore/html/
DDateComponents.cpp54 static const int daysInMonth[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; variable
71 return daysInMonth[month]; in maxDayOfMonth()
/external/icu4c/i18n/
Dcalendar.cpp2322 int32_t daysInMonth = handleGetLimit(UCAL_DAY_OF_MONTH, limitType); in getLimit() local
2324 limit = (daysInMonth + (7 - minDaysInFirst)) / 7; in getLimit()
2326 limit = (daysInMonth + 6 + (7 - minDaysInFirst)) / 7; in getLimit()
/external/libxml2/
Dxmlschemastypes.c1122 static const unsigned int daysInMonth[12] = variable
1128 (IS_LEAP(yr) ? daysInMonthLeap[mon - 1] : daysInMonth[mon - 1])
1133 (dt->day <= daysInMonth[dt->mon - 1]))