public class FutureValidatorForDate extends Object implements javax.validation.ConstraintValidator<javax.validation.constraints.Future,Date>
Future
constraint validator implementation for a
Date
.Constructor and Description |
---|
FutureValidatorForDate() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(javax.validation.constraints.Future constraintAnnotation) |
boolean |
isValid(Date value,
javax.validation.ConstraintValidatorContext context) |
public final void initialize(javax.validation.constraints.Future constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<javax.validation.constraints.Future,Date>
Copyright © 2018. All rights reserved.