Package net.jqwik.time.api.constraints
Annotation Type DateRange
-
@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Documented @API(status=EXPERIMENTAL, since="1.4.1") public @interface DateRange
Constrain the range of generated date parameters. Only strings of format DateTimeFormatter.ISO_LOCAL_DATE are supported.Applies to LocalDateTime, Instant, OffsetDateTime, ZonedDateTime, LocalDate, Date and Calendar parameters which are also annotated with
@ForAll
.- See Also:
ForAll
,DayOfMonthRange
,DayOfWeekRange
,MonthDayRange
,MonthRange
,YearMonthRange
,YearRange