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