Class YearMonthRandomizer

  • All Implemented Interfaces:
    Randomizer<java.time.YearMonth>

    public class YearMonthRandomizer
    extends java.lang.Object
    implements Randomizer<java.time.YearMonth>
    A Randomizer that generates random YearMonth.
    Author:
    Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
    • Constructor Detail

      • YearMonthRandomizer

        public YearMonthRandomizer​(long seed)
        Create a new YearMonthRandomizer.
        Parameters:
        seed - initial seed
    • Method Detail

      • getRandomValue

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