Package net.jqwik.time.api.constraints
Annotation Interface TimeRange
@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Documented
@API(status=EXPERIMENTAL,
since="1.5.1")
public @interface TimeRange
Constrain the range of generated time parameters.
Only strings of format DateTimeFormatter.ISO_LOCAL_TIME are supported.
Applies to LocalDateTime, Instant, OffsetDateTime, ZonedDateTime, LocalTime, OffsetTime parameters which are also annotated with @ForAll
.
- See Also:
-
Optional Element Summary