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 aMonthDay
value on or before the specified day.Generate aMonthDay
value on or after the specified day.Generate aMonthDay
value between the given range.Methods inherited from interface org.instancio.generator.specs.AsGeneratorSpec
as, asString
Methods inherited from interface org.instancio.generator.AsStringGeneratorSpec
asString
-
Method Details
-
min
Generate aMonthDay
value on or after the specified day.- Parameters:
min
- lower bound- Returns:
- spec builder
- Since:
- 2.3.0
-
max
Generate aMonthDay
value on or before the specified day.- Parameters:
max
- upper bound- Returns:
- spec builder
- Since:
- 2.3.0
-
range
Generate aMonthDay
value between the given range.- Parameters:
min
- lower bound (inclusive)max
- upper bound (inclusive)- Returns:
- spec builder
- Since:
- 2.3.0
-