class FutureValidatorForDate implements ConstraintValidator<Past, Date> {

	public boolean isValid(Date date, ConstraintValidatorContext constraintValidatorContext) {
		//null values are valid
		if ( date == null ) {
			return true;
		}
		return date.after( new Date() );
	}

}