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