+ date + "\" MATCHES \"" + otherDate);
return date.equals(otherDate);
}
}
} catch (ParseException e) {
throw new ReportedValidationException(
invalidDateErrorCode,
otherDateFieldName,
new Object[] { otherField });
}
} catch (ParseException e) {
throw new ReportedValidationException(
invalidDateErrorCode,
field.getName(),
new Object[] { dateField });
}
return false;