NumericExpression monthExpr = new NumericExpression(stmt, getMappingForClass(int.class), "MONTH", funcArgs);
// Delete one from the SQL "month" (origin=1) to be compatible with Java month (origin=0)
SQLExpression one = ExpressionUtils.getLiteralForOne(stmt);
NumericExpression numExpr = new NumericExpression(monthExpr, Expression.OP_SUB, one);
numExpr.encloseInParentheses();
return numExpr;
}
}