@Target(value={ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(value=RUNTIME)
@Documented
@API(status=EXPERIMENTAL,
since="1.5.1")
public @interface Precision
Applies to LocalDateTime, Instant, OffsetDateTime, LocalTime, OffsetTime and Duration parameters which are also annotated with @ForAll.
ForAll,
TimeRange,
OffsetRange,
HourRange,
MinuteRange,
SecondRange| Modifier and Type | Optional Element and Description |
|---|---|
java.time.temporal.ChronoUnit |
value |