@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy=DateFormat.DateFormatValidator.class) public @interface DateFormat
SimpleDateFormat
pattern.Modifier and Type | Fields and Description |
---|---|
static String |
DEFAULT_MESSAGE
Default message for validation.
|
public static final String DEFAULT_MESSAGE
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
Copyright © 2022. All rights reserved.