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