Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKPeriod.java605 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/
DPeriod.java591 public Period withDays(int days) { in withDays() method in Period