Uses of Interface
org.instancio.generator.specs.DurationGeneratorSpec
Packages that use DurationGeneratorSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
Provides generators for
java.time.* types.-
Uses of DurationGeneratorSpec in org.instancio.generator.specs
Subinterfaces of DurationGeneratorSpec in org.instancio.generator.specsMethods in org.instancio.generator.specs that return DurationGeneratorSpecModifier and TypeMethodDescriptionDurationGeneratorSpec.allowZero()Allow aDurationof length zero to be generated.DurationGeneratorSpec.max(long amount, TemporalUnit unit) Generate aDurationless than or equal to the specified amount.DurationGeneratorSpec.min(long amount, TemporalUnit unit) Generate aDurationgreater than or equal to the specified amount.DurationGeneratorSpec.of(long minAmount, long maxAmount, TemporalUnit unit) Generate aDurationin the given range, measured in specified units. -
Uses of DurationGeneratorSpec in org.instancio.generators
Methods in org.instancio.generators that return DurationGeneratorSpec -
Uses of DurationGeneratorSpec in org.instancio.internal.generator.time
Classes in org.instancio.internal.generator.time that implement DurationGeneratorSpec