@Target(value={ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(value=RUNTIME)
@Documented
@API(status=EXPERIMENTAL,
since="1.4.0")
public @interface YearRange
Applies to LocalDateTime, Instant, OffsetDateTime, LocalDate, Calendar, Date, Year and YearMonth parameters which are also annotated with @ForAll
.
ForAll
,
DateRange
,
DayOfMonthRange
,
DayOfWeekRange
,
MonthDayRange
,
MonthRange
,
YearMonthRange