List of usage examples for java.time Period addTo
@Override
public Temporal addTo(Temporal temporal)
From source file:Main.java
public static void main(String[] args) { Period p = Period.ofDays(12); Temporal l = p.addTo(LocalDate.now()); System.out.println(l);/*w ww . j ava 2s . c o m*/ }