@JsonbAnnotation
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,FIELD,METHOD,TYPE,PARAMETER,PACKAGE})
public @interface JsonbDateFormat
Annotation provides way how to set custom date format to field or JavaBean property.
The pattern format is specified in DateTimeFormatter
Usage
The @JsonbDateFormat
annotation can be used with the following program elements:
- field
- getter/setter
- type
- parameter
- package
- Since:
- JSON Binding 1.0
-
Field Details
-
DEFAULT_LOCALE
-
DEFAULT_FORMAT
-
TIME_IN_MILLIS
Special date format which serializes given date as milliseconds. Such date is serialized as a number.- See Also:
-
-
Element Details
-
value
-
locale
-