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