Package org.instancio.generator.specs
Interface TemporalAaStringGeneratorSpec<T>
- All Superinterfaces:
AsGeneratorSpec<T>,AsStringGeneratorSpec<T>,GeneratorSpec<T>,NullableGeneratorSpec<T>,TemporalGeneratorSpec<T>
- All Known Implementing Classes:
InstantGenerator,LocalDateGenerator,LocalDateTimeGenerator,LocalTimeGenerator,OffsetDateTimeGenerator,OffsetTimeGenerator,YearGenerator,YearMonthGenerator,ZonedDateTimeGenerator
public interface TemporalAaStringGeneratorSpec<T>
extends TemporalGeneratorSpec<T>, AsGeneratorSpec<T>, AsStringGeneratorSpec<T>
Generator spec for temporal values that supports
AsStringGeneratorSpec.- Since:
- 2.6.0
-
Method Summary
Methods inherited from interface org.instancio.generator.specs.AsGeneratorSpec
as, asStringMethods inherited from interface org.instancio.generator.AsStringGeneratorSpec
asStringMethods inherited from interface org.instancio.generator.specs.TemporalGeneratorSpec
nullable
-
Method Details
-
past
TemporalAaStringGeneratorSpec<T> past()Description copied from interface:TemporalGeneratorSpecGenerate a value in the past.- Specified by:
pastin interfaceTemporalGeneratorSpec<T>- Returns:
- spec builder
-
future
TemporalAaStringGeneratorSpec<T> future()Description copied from interface:TemporalGeneratorSpecGenerate a value in the future.- Specified by:
futurein interfaceTemporalGeneratorSpec<T>- Returns:
- spec builder
-
range
Description copied from interface:TemporalGeneratorSpecGenerate a value within the given range.- Specified by:
rangein interfaceTemporalGeneratorSpec<T>- Parameters:
start- lower bound (inclusive)end- upper bound (inclusive)- Returns:
- spec builder
-