returnExpr = new DateTimeConstant(val);
break;
case TypeConstants.charType:
char[] cArr = val.toCharArray();
returnExpr = new CharConstant(cArr[0]);
break;
case TypeConstants.doubleType:
returnExpr = new DoubleConstant(Double.valueOf(val).doubleValue());
break;