Class LocalDateRangeRandomizer

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      LocalDate getRandomValue() Generate a random value for the given type.
      • Methods inherited from class io.github.krandom.randomizers.AbstractRandomizer

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocalDateRangeRandomizer

        LocalDateRangeRandomizer(LocalDate min, LocalDate max, long seed)
        Parameters:
        min - min value (inclusive)
        max - max value (exclusive)
        seed - initial seed
    • Method Detail

      • getRandomValue

         LocalDate getRandomValue()

        Generate a random value for the given type.

        Returns:

        a random value for the given type