Package org.instancio.generator.specs
Interface MonthDayGeneratorSpec
- All Superinterfaces:
AsGeneratorSpec<MonthDay>
,GeneratorSpec<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
-
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
-