play.data.validation
Annotation Type InFuture
@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
@Constraint(checkWith=InFutureCheck.class)
public @interface InFuture
This date must be in the future.
Message key: validation.future
$1: field name
$2: reference date
Optional Element Summary |
java.lang.String |
message
|
java.lang.String |
value
|
message
public abstract java.lang.String message
- Default:
- "validation.future"
value
public abstract java.lang.String value
- Default:
- ""
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly