public class FutureValidatorForDate extends Object implements ConstraintValidator<Future,Date>
java.util.Date
passed to be validated is in the
future.Constructor and Description |
---|
FutureValidatorForDate() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Future constraintAnnotation) |
boolean |
isValid(Date date,
ConstraintValidatorContext constraintValidatorContext) |
public void initialize(Future constraintAnnotation)
initialize
in interface ConstraintValidator<Future,Date>
public boolean isValid(Date date, ConstraintValidatorContext constraintValidatorContext)
isValid
in interface ConstraintValidator<Future,Date>
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved