@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:
Modifier and Type | Fields | Description |
---|---|---|
static String |
DEFAULT_FORMAT |
Value that indicates the default format.
|
static String |
DEFAULT_LOCALE |
Value that indicates that default
Locale . |
static String |
TIME_IN_MILLIS |
Special date format which serializes given date as milliseconds.
|
static final String DEFAULT_FORMAT
static final String TIME_IN_MILLIS
String value
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.