@ConstantFunction.List(list = {
            @ConstantFunction(name = "years_add", argTypes = {DATETIME,
                    INT}, returnType = DATETIME, isMonotonic = true),
            @ConstantFunction(name = "years_add", argTypes = {DATE, INT}, returnType = DATE, isMonotonic = true)
    })
    public static ConstantOperator yearsAdd(ConstantOperator date, ConstantOperator year) {
        if (date.getType().isDate()) {
            return ConstantOperator.createDateOrNull(date.getDatetime().plusYears(year.getInt()));
        } else {
            return ConstantOperator.createDatetimeOrNull(date.getDatetime().plusYears(year.getInt()));
        }
    }
@Test
    public void yearsAdd() {
        assertEquals("2025-03-23T09:23:55",
                ScalarOperatorFunctions.yearsAdd(O_DT_20150323_092355, O_INT_10).getDatetime().toString());
    }