Class MonthDayRandomizer

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

public class MonthDayRandomizer extends Object implements Randomizer<java.time.MonthDay>
A Randomizer that generates random MonthDay.
Author:
Mahmoud Ben Hassine ([email protected])
  • Constructor Details

    • MonthDayRandomizer

      public MonthDayRandomizer()
      Create a new MonthDayRandomizer.
    • MonthDayRandomizer

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

    • getRandomValue

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