Home
last modified time | relevance | path

Searched refs:monthsUntil (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateImpl.java383 case MONTHS: return monthsUntil(end); in until()
384 case YEARS: return monthsUntil(end) / 12; in until()
385 case DECADES: return monthsUntil(end) / 120; in until()
386 case CENTURIES: return monthsUntil(end) / 1200; in until()
387 case MILLENNIA: return monthsUntil(end) / 12000; in until()
400 private long monthsUntil(ChronoLocalDate end) { in monthsUntil() method in ChronoLocalDateImpl
/libcore/ojluni/src/main/java/java/time/
DYearMonth.java1042 long monthsUntil = end.getProlepticMonth() - getProlepticMonth(); // no overflow in until() local
1044 case MONTHS: return monthsUntil; in until()
1045 case YEARS: return monthsUntil / 12; in until()
1046 case DECADES: return monthsUntil / 120; in until()
1047 case CENTURIES: return monthsUntil / 1200; in until()
1048 case MILLENNIA: return monthsUntil / 12000; in until()
DLocalDate.java1601 case MONTHS: return monthsUntil(end); in until()
1602 case YEARS: return monthsUntil(end) / 12; in until()
1603 case DECADES: return monthsUntil(end) / 120; in until()
1604 case CENTURIES: return monthsUntil(end) / 1200; in until()
1605 case MILLENNIA: return monthsUntil(end) / 12000; in until()
1617 private long monthsUntil(LocalDate end) { in monthsUntil() method in LocalDate