public EasyRandomParameters dateRange ( final LocalDate min , final LocalDate max ) { if ( min . isAfter ( max ) ) { throw new IllegalArgumentException ( "Min date should be before max date" ) ; } setDateRange ( new Range <> ( min , max ) ) ; return this ; }
Set the date range .