Annotation Interface DateType
Specifies that a field or parameter must conform to a date format.
This annotation validates that the value of the annotated field or parameter
matches the date format specified by the format
attribute (e.g., "yyyy-MM-dd").
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Sandratra NIAINA
-
Required Element Summary
Required Elements
-
Element Details
-
format
String formatThe date format that the annotated field or parameter must follow.- Returns:
- the date format string (e.g., "yyyy-MM-dd")
-