Interface TemporalGeneratorSpec<T extends Temporal>

All Superinterfaces:
GeneratorSpec<T>
All Known Implementing Classes:
LocalDateGenerator, LocalDateTimeGenerator

public interface TemporalGeneratorSpec<T extends Temporal> extends GeneratorSpec<T>
Generator spec for Temporal types.
  • Method Details

    • past

      Generate a date in the past.
      Returns:
      spec builder
    • future

      Generate a date in the future.
      Returns:
      spec builder
    • range

      TemporalGeneratorSpec<T> range(T startInclusive, T endExclusive)
      Generate a date between the given range.
      Parameters:
      startInclusive - start date (inclusive)
      endExclusive - end date (exclusive)
      Returns:
      spec builder