Package org.springframework.boot.convert
Annotation Interface DurationUnit
Annotation that can be used to change the default unit used when converting a
 
Duration.- Since:
- 2.0.0
- Author:
- Phillip Webb
- 
Required Element SummaryRequired ElementsModifier and TypeRequired ElementDescriptionThe duration unit to use if one is not specified.
- 
Element Details- 
valueChronoUnit valueThe duration unit to use if one is not specified.- Returns:
- the duration unit
 
 
-