public static <D extends Comparable> DateExpression<D> addYears(DateExpression<D> date, int years) {
        return Expressions.dateOperation(date.getType(), Ops.DateTimeOps.ADD_YEARS, date, ConstantImpl.create(years));
    }
public static < D extends Comparable > DateExpression < D > addYears ( DateExpression < D > date , int years ) { return Expressions . dateOperation ( date . getType ( ) , Ops . DateTimeOps . ADD_YEARS , date , ConstantImpl . create ( years ) ) ; }
Add the given amount of years to the date

@param date date
@param years years to add
@return converted date