List of usage examples for java.time ZonedDateTime minusYears
public ZonedDateTime minusYears(long years)
From source file:Main.java
public static void main(String[] args) { ZonedDateTime dateTime = ZonedDateTime.now(); ZonedDateTime n = dateTime.minusYears(12); System.out.println(n);// ww w .j a v a2 s. c o m }