Package org.jboss.resteasy.reactive
Annotation Interface DateFormat
An annotation that can be used on a date JAX-RS Resource method parameter type in order to determine the format
that will be used to parse that type.
Supported types are:
- java.time.LocalDate
- java.time.LocalDateTime
- java.time.LocalTime
- java.time.OffsetDateTime
- java.time.OffsetTime
- java.time.ZonedDateTime
-
Nested Class Summary
Nested Classes -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends DateFormat.DateTimeFormatterProvider> If set, the class will be used to provide aDateTimeFormatterthat will then be used in order to parse the input String into the desired type.If set, this string will be used in order to build aDateTimeFormatterusingDateTimeFormatter.ofPattern. -
Field Summary
Fields
-
Field Details
-
UNSET_PATTERN
- See Also:
-
-
Element Details
-
pattern
String patternIf set, this string will be used in order to build aDateTimeFormatterusingDateTimeFormatter.ofPattern. Subsequently, the builtDateTimeFormatterwill be used in order to parse the input String into the desired type.- Default:
"<<unset>>"
-
dateTimeFormatterProvider
Class<? extends DateFormat.DateTimeFormatterProvider> dateTimeFormatterProviderIf set, the class will be used to provide aDateTimeFormatterthat will then be used in order to parse the input String into the desired type.- Default:
org.jboss.resteasy.reactive.DateFormat.DateTimeFormatterProvider.UnsetDateTimeFormatterProvider.class
-