List of usage examples for java.time Year plus
@Override public Year plus(long amountToAdd, TemporalUnit unit)
From source file:Main.java
public static void main(String[] args) { Year y = Year.of(2014); Year l = y.plus(2, ChronoUnit.YEARS); System.out.println(l);/* www . ja v a2 s . c om*/ }