Package net.jqwik.time.api.constraints
Annotation Interface HourRange
@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Documented
@API(status=EXPERIMENTAL,
since="1.5.1")
public @interface HourRange
Constrain the range of generated hour parameters.
Applies to LocalDateTime, Instant, OffsetDateTime, LocalTime and OffsetTime parameters which are also annotated with @ForAll
.
- See Also:
-
Optional Element Summary
-
Element Details
-
min
int min- Default:
- 0
-
max
int max- Default:
- 23
-