批注接口 DurationUnit
Annotation that can be used to change the default unit used when converting a
Duration
.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
-
必需元素概要
所需元素
-
元素详细资料
-
value
ChronoUnit valueThe duration unit to use if one is not specified.- 返回:
- the duration unit
-