public class FutureValidatorForReadableInstant extends Object implements ConstraintValidator<Future,org.joda.time.ReadableInstant>
import org.joda.time.ReadableInstant
is in the future.Constructor and Description |
---|
FutureValidatorForReadableInstant() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Future constraintAnnotation) |
boolean |
isValid(org.joda.time.ReadableInstant value,
ConstraintValidatorContext context) |
public void initialize(Future constraintAnnotation)
initialize
in interface ConstraintValidator<Future,org.joda.time.ReadableInstant>
public boolean isValid(org.joda.time.ReadableInstant value, ConstraintValidatorContext context)
isValid
in interface ConstraintValidator<Future,org.joda.time.ReadableInstant>
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved