@Override
public void configure(InFuture future) {
try {
this.reference = future.value().equals("") ? new Date() : AlternativeDateFormat.getDefaultFormatter().parse(future.value());
} catch (ParseException ex) {
throw new UnexpectedException("Cannot parse date " + future.value(), ex);
}
if (!future.value().equals("") && future.message().equals(mes)) {
setMessage("validation.after");
} else {
setMessage(future.message());