-
@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
DateTimeFormatterUsage
The
@JsonbDateFormatannotation can be used with the following program elements:- field
- getter/setter
- type
- parameter
- package
- Since:
- JSON Binding 1.0
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringDEFAULT_FORMATValue that indicates the default format.static java.lang.StringDEFAULT_LOCALEValue that indicates that defaultLocale.static java.lang.StringTIME_IN_MILLISSpecial date format which serializes given date as milliseconds.
-