Searched refs:calcMonths (Results 1 – 3 of 3) sorted by relevance
534 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths() local535 int newYear = chrono.checkValidYear(Math.floorDiv(calcMonths, 12L)); in plusMonths()536 int newMonth = (int)Math.floorMod(calcMonths, 12L) + 1; in plusMonths()
845 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths() local846 int newYear = YEAR.checkValidIntValue(Math.floorDiv(calcMonths, 12)); in plusMonths()847 int newMonth = (int)Math.floorMod(calcMonths, 12) + 1; in plusMonths()
1300 long calcMonths = monthCount + monthsToAdd; // safe overflow in plusMonths() local1301 int newYear = YEAR.checkValidIntValue(Math.floorDiv(calcMonths, 12)); in plusMonths()1302 int newMonth = (int)Math.floorMod(calcMonths, 12) + 1; in plusMonths()