Class InstantGenerator

All Implemented Interfaces:
Generator, TypedGenerator<Instant>

@API(status=STABLE, since="0.1") @Priority(-1000) public class InstantGenerator extends AbstractTypedGenerator<Instant>
Generator of Instant values.
Since:
0.1
Version:
1.0, 2022-11
Author:
(w) Iker Hernaez
  • Constructor Details

    • InstantGenerator

      public InstantGenerator()
      Creates a new instance.
  • Method Details

    • defaultValue

      @NotNull public @NotNull Instant defaultValue()
      Returns the default value of the supported type.
      Returns:
      The default value.
    • randomValue

      @NotNull public @NotNull Instant randomValue()
      Returns a random value of the supported type.
      Returns:
      A random value.