List of usage examples for java.time Period minusMonths
public Period minusMonths(long monthsToSubtract)
From source file:Main.java
public static void main(String[] args) { Period p = Period.ofMonths(1); Period l = p.minusMonths(10); System.out.println(l);/*from w ww. j av a 2 s . c o m*/ }