Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriodImpl.java232 long splitYears = totalMonths / monthRange; 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.java829 long splitYears = totalMonths / 12; in normalized() local
831 if (splitYears == years && splitMonths == months) { in normalized()
834 return create(Math.toIntExact(splitYears), splitMonths, days); in normalized()