Package net.jqwik.time.api.constraints
Annotationsschnittstelle 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
.
- Siehe auch:
-
Optionale Elemente - Übersicht
-
Elementdetails
-
value
ChronoUnit value- Standard:
SECONDS
-