JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Deprecated
Index
Search
Help
org.springframework.boot.convert
DurationFormat
Contents
Description
Required Element Summary
Element Details
value
Hide sidebar
Show sidebar
Annotation Interface DurationFormat
@Target
({
FIELD
,
PARAMETER
})
@Retention
(
RUNTIME
)
@Documented
public @interface
DurationFormat
Annotation that can be used to indicate the format to use when converting a
Duration
.
Since:
2.0.0
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
DurationStyle
value
The duration format style.
Element Details
value
DurationStyle
value
The duration format style.
Returns:
the duration format style.