Home
last modified time | relevance | path

Searched refs:splitMonths (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriodImpl.java233 int splitMonths = (int) (totalMonths % monthRange); // no overflow in normalized() local
234 if (splitYears == years && splitMonths == months) { in normalized()
237 return new ChronoPeriodImpl(chrono, Math.toIntExact(splitYears), splitMonths, days); in normalized()
/libcore/ojluni/src/main/java/java/time/
DPeriod.java830 int splitMonths = (int) (totalMonths % 12); // no overflow in normalized() local
831 if (splitYears == years && splitMonths == months) { in normalized()
834 return create(Math.toIntExact(splitYears), splitMonths, days); in normalized()