Annotation Type MonthRange


  • @Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
    @Retention(RUNTIME)
    @Documented
    @API(status=EXPERIMENTAL,
         since="1.4.0")
    public @interface MonthRange
    Constrain the range of generated month parameters.

    Applies to LocalDateTime, LocalDate, Calendar, Date, YearMonth or MonthDay parameters which are also annotated with @ForAll.

    See Also:
    ForAll, DateRange, DayOfMonthRange, DayOfWeekRange, MonthDayRange, YearMonthRange, YearRange
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.time.Month max  
      java.time.Month min  
    • Element Detail

      • min

        java.time.Month min
        Default:
        java.time.Month.JANUARY
      • max

        java.time.Month max
        Default:
        java.time.Month.DECEMBER