changed = true;
}
} else if (typeExpr.isNonParametricType(CAL_Time.TypeConstructors.Time)) {
JTimeValueNode valueNode = (JTimeValueNode) valueEntryPanel.getValueNode();
// Check. If it's parseable, then it's valid (of course!).
// If not parseable, then give a default value of the date time in ValueNode.
DateFormat fmt=DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.LONG);
fmt.setTimeZone(TimeZone.getDefault());
try {
fmt.parse(currentText);
} catch (ParseException pe) {
currentText = fmt.format(valueNode.getJavaDate());
changed = true;
}
} else if (typeExpr.sameType(typeConstants.getCharListType())) {