Home
last modified time | relevance | path

Searched refs:toTotalMonths (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DPeriod.java830 long totalMonths = toTotalMonths(); in normalized()
849 public long toTotalMonths() { in toTotalMonths() method in Period
896 long totalMonths = toTotalMonths(); in addTo()
949 long totalMonths = toTotalMonths(); in subtractFrom()
DLocalDate.java1167 return plusMonths(periodToAdd.toTotalMonths()).plusDays(periodToAdd.getDays()); in plus()
1415 … return minusMonths(periodToSubtract.toTotalMonths()).minusDays(periodToSubtract.getDays()); in minus()
1760 long months = step.toTotalMonths(); in datesUntil()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalDate.java2563 …assertTrue(start.plusMonths(step.toTotalMonths()*(count-1)).plusDays(step.getDays()*(count-1)).isB…
2566 …assertFalse(start.plusMonths(step.toTotalMonths()*count).plusDays(step.getDays()*count).isBefore(e…
2574 list.add(start.plusMonths(step.toTotalMonths()*i).plusDays(step.getDays()*i));
2583 …assertTrue(end.minusMonths(step.toTotalMonths()*(count-1)).minusDays(step.getDays()*(count-1)).isA…
2586 …assertFalse(end.minusMonths(step.toTotalMonths()*count).minusDays(step.getDays()*count).isAfter(st…
2594 list.add(end.minusMonths(step.toTotalMonths()*i).minusDays(step.getDays()*i));
DTCKPeriod.java1260 assertEquals(test.toTotalMonths(), y * 12L + m, "totalMonths"); in assertPeriod()
/libcore/api/
Dcurrent.txt11972 method public long toTotalMonths();