Package org.instancio.generator.specs
Interface MonthDayGeneratorSpec
- All Superinterfaces:
AsGeneratorSpec<MonthDay>,GeneratorSpec<MonthDay>
- All Known Subinterfaces:
MonthDaySpec
Generator spec for
MonthDay types.- Since:
- 2.3.0
-
Method Summary
Modifier and TypeMethodDescriptionGenerate aMonthDayvalue on or before the specified day.Generate aMonthDayvalue on or after the specified day.Generate aMonthDayvalue between the given range.Methods inherited from interface org.instancio.generator.specs.AsGeneratorSpec
as, asString
-
Method Details
-
min
Generate aMonthDayvalue on or after the specified day.- Parameters:
min- lower bound- Returns:
- spec builder
- Since:
- 2.3.0
-
max
Generate aMonthDayvalue on or before the specified day.- Parameters:
max- upper bound- Returns:
- spec builder
- Since:
- 2.3.0
-
range
Generate aMonthDayvalue between the given range.- Parameters:
min- lower bound (inclusive)max- upper bound (inclusive)- Returns:
- spec builder
- Since:
- 2.3.0
-