Annotation Interface DateFormat
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(RUNTIME)
@Documented
@Constraint(validatedBy=DateFormatValidator.class)
public @interface DateFormat
The annotated String must be a valid
SimpleDateFormat
pattern.- Author:
- Eric Bottard, Soby Chacko
-
Nested Class Summary
-
Optional Element Summary
-
Field Summary
-
Field Details
-
DEFAULT_MESSAGE
Default message for validation.- See Also:
-
-
Element Details