103104105106107108109110111112113
return null; try { formatter.parseStrict(str); }catch(IllegalArgumentException ex) { return new ValidationResult(getErrorMessage(allMessages, messages.unparsableDate())); } return null; }
9899100101102103104105106107108
try { formatter.parseStrict(str); }catch(Exception ex) { return new ValidationResult(getErrorMessage(allMessages, messages.unparsableDate())); } return null; }
try { formatter.parseStrict(str); }catch(IllegalArgumentException ex) { return new ValidationResult(getErrorMessage(allMessages, messages.unparsableDate())); } return null; }