List of usage examples for java.time Period withDays
public Period withDays(int days)
From source file:Main.java
public static void main(String[] args) { Period p = Period.ofMonths(1); Period l = p.withDays(10); System.out.println(l);/*from w w w. java 2 s.co m*/ }