@Target(value={FIELD,PARAMETER})
@Retention(value=RUNTIME)
@Documented
public @interface DurationUnit
Duration
.Modifier and Type | Required Element and Description |
---|---|
java.time.temporal.ChronoUnit |
value
The duration unit to use if one is not specified.
|