Home
last modified time | relevance | path

Searched defs:newYear (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DYearMonth.java312 private YearMonth with(int newYear, int newMonth) { in with()
827 int newYear = YEAR.checkValidIntValue(year + yearsToAdd); // safe overflow in plusYears() local
846 int newYear = YEAR.checkValidIntValue(Math.floorDiv(calcMonths, 12)); in plusMonths() local
DLocalDate.java1271 int newYear = YEAR.checkValidIntValue(year + yearsToAdd); // safe overflow in plusYears() local
1301 int newYear = YEAR.checkValidIntValue(Math.floorDiv(calcMonths, 12)); in plusMonths() local
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java524 int newYear = Math.addExact(this.prolepticYear, (int)years); in plusYears() local
535 int newYear = chrono.checkValidYear(Math.floorDiv(calcMonths, 12L)); in plusMonths() local
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticDate.java287 int newYear = Math.toIntExact(Math.floorDiv(calcEm, 13)); in plusMonths() local