@JsonbAnnotation @Retention(value=RUNTIME) @Target(value={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:
| Modifier and Type | Fields and Description |
|---|---|
static java.lang.String |
DEFAULT_FORMAT
Value that indicates the default format.
|
static java.lang.String |
DEFAULT_LOCALE
Value that indicates that default
Locale. |
static java.lang.String |
TIME_IN_MILLIS
Special date format which serializes given date as milliseconds.
|
public static final java.lang.String DEFAULT_LOCALE
Locale.public static final java.lang.String DEFAULT_FORMAT
public static final java.lang.String TIME_IN_MILLIS