funcArgs.add(mm);
ArrayList funcArgs2 = new ArrayList();
funcArgs2.add(new StringExpression(stmt, getMappingForClass(int.class), "TO_CHAR", funcArgs));
// Delete one from the SQL "month" (origin=1) to be compatible with Java month (origin=0)
NumericExpression numExpr = new NumericExpression(
new NumericExpression(stmt, getMappingForClass(int.class), "TO_NUMBER", funcArgs2),
Expression.OP_SUB, one);
numExpr.encloseInParentheses();
return numExpr;
}