play.data.validation
注释类型 InPast


@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
@Constraint(checkWith=InPastCheck.class)
public @interface InPast

This date must be in the past. Message key: validation.past $1: field name $2: reference date


可选元素摘要
 java.lang.String message
           
 java.lang.String value
           
 

message

public abstract java.lang.String message
默认值:
"validation.past"

value

public abstract java.lang.String value
默认值:
""


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly