Package net.jqwik.time.api.constraints
Annotationsschnittstelle YearRange
@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Documented
@API(status=EXPERIMENTAL,
since="1.4.0")
public @interface YearRange
Constrain the range of generated positive year parameters.
Applies to LocalDateTime, Instant, OffsetDateTime, LocalDate, Calendar, Date, Year and YearMonth parameters which are also annotated with @ForAll
.
- Siehe auch:
-
Optionale Elemente - Übersicht
-
Elementdetails
-
min
int min- Standard:
1900
-
max
int max- Standard:
2500
-