List of usage examples for java.time YearMonth minusYears
public YearMonth minusYears(long yearsToSubtract)
From source file:Main.java
public static void main(String[] args) { YearMonth y = YearMonth.now(); YearMonth s = y.minusYears(12); System.out.println(s);/*www. j av a2 s. c o m*/ }