Package org.instancio.generator.specs
Interface MonthDayGeneratorSpec
- All Superinterfaces:
AsGeneratorSpec<MonthDay>,AsStringGeneratorSpec<MonthDay>,GeneratorSpec<MonthDay>
- All Known Implementing Classes:
MonthDayGenerator
public interface MonthDayGeneratorSpec
extends AsGeneratorSpec<MonthDay>, AsStringGeneratorSpec<MonthDay>
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, asStringMethods inherited from interface org.instancio.generator.AsStringGeneratorSpec
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
-