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