Searched refs:withMonths (Results 1 - 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TCKPeriod.java | 589 // withMonths() 593 assertPeriod(Period.of(1, 2, 3).withMonths(2), 1, 2, 3); 594 assertPeriod(Period.of(1, 2, 3).withMonths(10), 1, 10, 3); 595 assertPeriod(Period.of(1, 2, 3).withMonths(-10), 1, -10, 3); 596 assertPeriod(Period.of(-1, -2, -3).withMonths(10), -1, 10, -3); 597 assertPeriod(Period.of(1, 2, 3).withMonths(0), 1, 0, 3);
|
H A D | TCKYearMonth.java | 811 {YearMonth.of(1, 1), Period.ofYears(1).withMonths(2), YearMonth.of(2, 3), null}, 812 {YearMonth.of(1, 1), Period.ofYears(-12).withMonths(-1), YearMonth.of(-12, 12), null}, 1026 {YearMonth.of(1, 1), Period.ofYears(1).withMonths(2), YearMonth.of(-1, 11), null}, 1027 {YearMonth.of(1, 1), Period.ofYears(-12).withMonths(-1), YearMonth.of(13, 2), null},
|
/libcore/ojluni/src/main/java/java/time/ |
H A D | Period.java | 573 public Period withMonths(int months) { method in class:Period
|
Completed in 88 milliseconds