Searched refs:withDays (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 605 assertPeriod(Period.of(1, 2, 3).withDays(3), 1, 2, 3); in test_withDays() 606 assertPeriod(Period.of(1, 2, 3).withDays(10), 1, 2, 10); in test_withDays() 607 assertPeriod(Period.of(1, 2, 3).withDays(-10), 1, 2, -10); in test_withDays() 608 assertPeriod(Period.of(-1, -2, -3).withDays(10), -1, -2, 10); in test_withDays() 609 assertPeriod(Period.of(1, 2, 3).withDays(0), 1, 2, 0); in test_withDays()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Period.java | 591 public Period withDays(int days) { in withDays() method in Period
|