Package net.jqwik.time.api.constraints
Annotation Interface Precision
@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Documented
@API(status=EXPERIMENTAL,
since="1.5.1")
public @interface Precision
Constrain the precision of generated times.
Applies to LocalDateTime, Instant, OffsetDateTime, LocalTime, OffsetTime and Duration parameters which are also annotated with @ForAll
.
- See Also:
-
Optional Element Summary
-
Element Details
-
value
ChronoUnit value- Default:
- SECONDS
-