List of usage examples for java.time Year plus
@Override
public Year plus(TemporalAmount amountToAdd)
From source file:Main.java
public static void main(String[] args) { Year y = Year.of(2014); Year l = y.plus(Period.ofYears(12)); System.out.println(l);/*from ww w .ja v a2s . com*/ }