Home
last modified time | relevance | path

Searched refs:monthLen (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java1254 int monthLen = monthLength(mon); in roll() local
1255 if (internalGet(DAY_OF_MONTH) > monthLen) { in roll()
1256 set(DAY_OF_MONTH, monthLen); in roll()
1267 int monthLen = getActualMaximum(DAY_OF_MONTH); in roll() local
1268 if (internalGet(DAY_OF_MONTH) > monthLen) { in roll()
1269 set(DAY_OF_MONTH, monthLen); in roll()
3314 int monthLen; in pinDayOfMonth() local
3316 monthLen = monthLength(internalGet(MONTH)); in pinDayOfMonth()
3319 monthLen = gc.getActualMaximum(DAY_OF_MONTH); in pinDayOfMonth()
3322 if (dom > monthLen) { in pinDayOfMonth()
[all …]
DJapaneseImperialCalendar.java706 int monthLen = monthLength(mon); in roll() local
707 if (internalGet(DAY_OF_MONTH) > monthLen) { in roll()
708 set(DAY_OF_MONTH, monthLen); in roll()
/libcore/ojluni/src/main/java/java/time/
DLocalDate.java1375 long monthLen = lengthOfMonth(); in plusDays() local
1376 if (dom <= monthLen) { in plusDays()
1379 return new LocalDate(year, month + 1, (int) (dom - monthLen)); in plusDays()
1382 return new LocalDate(year + 1, 1, (int) (dom - monthLen)); in plusDays()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java217 int monthLen = maxDate.lengthOfMonth(); in test_hijrahDateLimits() local
218 maxDate = maxDate.with(DAY_OF_MONTH, monthLen); in test_hijrahDateLimits()