Home
last modified time | relevance | path

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

/external/u-boot/drivers/rtc/
Dm41t60.c83 static const uchar daysInMonth[0x13] = { in rtc_validate() local
122 daysInMonth[month] < date || 0x09 < (date & 0x0F) || 0x00 == date || in rtc_validate()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarPanel.java151 daysInMonth = c.get(Calendar.DATE); in calculate()
253 dateToCell(daysInMonth, cellPos); in paint()
362 private transient int daysInMonth; // # days in this month field in CalendarPanel
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/
DHolidayCalendarDemo.java526 daysInMonth = c.get(Calendar.DATE); in calculate()
540 numWeeks = dateToCell(daysInMonth).y - dateToCell(1).y + 1; in calculate()
636 dateToCell(daysInMonth, cellPos); in paint()
662 for (int i = 1, h = 0; i <= daysInMonth; i++) { in paint()
719 private transient int daysInMonth; // # days in this month field in HolidayCalendarDemo.CalendarPanel
/external/libchrome/base/third_party/nspr/
Dprtime.cc267 int daysInMonth; in PR_NormalizeTime() local
339 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
340 while (time->tm_mday > daysInMonth) { in PR_NormalizeTime()
342 time->tm_mday -= daysInMonth; in PR_NormalizeTime()
348 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java4419 int daysInMonth = handleGetLimit(DAY_OF_MONTH, limitType); in getLimit() local
4421 limit = (daysInMonth + (7 - minDaysInFirst)) / 7; in getLimit()
4423 limit = (daysInMonth + 6 + (7 - minDaysInFirst)) / 7; in getLimit()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java4299 int daysInMonth = handleGetLimit(DAY_OF_MONTH, limitType); in getLimit() local
4301 limit = (daysInMonth + (7 - minDaysInFirst)) / 7; in getLimit()
4303 limit = (daysInMonth + 6 + (7 - minDaysInFirst)) / 7; in getLimit()
/external/icu/icu4c/source/i18n/
Dcalendar.cpp2730 int32_t daysInMonth = handleGetLimit(UCAL_DAY_OF_MONTH, limitType); in getLimit() local
2732 limit = (daysInMonth + (7 - minDaysInFirst)) / 7; in getLimit()
2734 limit = (daysInMonth + 6 + (7 - minDaysInFirst)) / 7; in getLimit()
/external/libxml2/
Dxmlschemastypes.c1136 static const unsigned int daysInMonth[12] = variable
1142 (IS_LEAP(yr) ? daysInMonthLeap[mon - 1] : daysInMonth[mon - 1])
1147 (dt->day <= daysInMonth[dt->mon - 1]))