Package org.springframework.boot.convert
Annotation Interface PeriodUnit
Annotation that can be used to change the default unit used when converting a
Period
.- Since:
- 2.3.0
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionThe Period unit to use if one is not specified.
-
Element Details
-
value
ChronoUnit valueThe Period unit to use if one is not specified.- Returns:
- the Period unit
-