Class SqlTimeRandomizer

java.lang.Object
org.jeasy.random.randomizers.time.SqlTimeRandomizer
All Implemented Interfaces:
Randomizer<Time>

public class SqlTimeRandomizer extends Object implements Randomizer<Time>
Generate a random Time.
Author:
Mahmoud Ben Hassine ([email protected])
  • Constructor Details

    • SqlTimeRandomizer

      public SqlTimeRandomizer()
      Create a new SqlTimeRandomizer.
    • SqlTimeRandomizer

      public SqlTimeRandomizer(long seed)
      Create a new SqlTimeRandomizer.
      Parameters:
      seed - initial seed
  • Method Details

    • getRandomValue

      public Time getRandomValue()
      Description copied from interface: Randomizer
      Generate a random value for the given type.
      Specified by:
      getRandomValue in interface Randomizer<Time>
      Returns:
      a random value for the given type