Package org.springframework.boot.convert
Annotation Interface DurationFormat
Annotation that can be used to indicate the format to use when converting a
Duration
.- Since:
- 2.0.0
- Author:
- Phillip Webb
-
Required Element Summary
-
Element Details
-
value
DurationStyle valueThe duration format style.- Returns:
- the duration format style.
-