Klasse DefaultLocalTimeArbitrary

java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<LocalTime>
net.jqwik.time.internal.properties.arbitraries.DefaultLocalTimeArbitrary
Alle implementierten Schnittstellen:
Cloneable, net.jqwik.api.Arbitrary<LocalTime>, LocalTimeArbitrary

@API(status=INTERNAL) public class DefaultLocalTimeArbitrary extends net.jqwik.api.arbitraries.ArbitraryDecorator<LocalTime> implements LocalTimeArbitrary
  • Konstruktordetails

    • DefaultLocalTimeArbitrary

      public DefaultLocalTimeArbitrary()
  • Methodendetails

    • arbitrary

      protected net.jqwik.api.Arbitrary<LocalTime> arbitrary()
      Angegeben von:
      arbitrary in Klasse net.jqwik.api.arbitraries.ArbitraryDecorator<LocalTime>
    • effectiveMin

      public static LocalTime effectiveMin(LocalTimeBetween timeBetween, HourBetween hourBetween, MinuteBetween minuteBetween, SecondBetween secondBetween, OfPrecision ofPrecision)
    • checkTimeValueAndPrecision

      public static void checkTimeValueAndPrecision(LocalTime time, OfPrecision ofPrecision, boolean minimum)
    • effectiveMax

      public static LocalTime effectiveMax(LocalTimeBetween timeBetween, HourBetween hourBetween, MinuteBetween minuteBetween, SecondBetween secondBetween, OfPrecision ofPrecision)
    • ofPrecisionFromNanos

      public static ChronoUnit ofPrecisionFromNanos(int nanos)
    • ofPrecisionFromTime

      public static ChronoUnit ofPrecisionFromTime(LocalTime time)
    • atTheEarliest

      public LocalTimeArbitrary atTheEarliest(LocalTime min)
      Beschreibung aus Schnittstelle kopiert: LocalTimeArbitrary
      Set the allowed lower min (included) bounder of generated local time values. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.
      Angegeben von:
      atTheEarliest in Schnittstelle LocalTimeArbitrary
    • atTheLatest

      public LocalTimeArbitrary atTheLatest(LocalTime max)
      Beschreibung aus Schnittstelle kopiert: LocalTimeArbitrary
      Set the allowed upper max (included) bounder of generated local time values. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.
      Angegeben von:
      atTheLatest in Schnittstelle LocalTimeArbitrary
    • hourBetween

      public LocalTimeArbitrary hourBetween(int min, int max)
      Beschreibung aus Schnittstelle kopiert: LocalTimeArbitrary
      Set the allowed lower min (included) and upper max (included) bounder of generated hour values. The hours can be between 0 and 23.
      Angegeben von:
      hourBetween in Schnittstelle LocalTimeArbitrary
    • minuteBetween

      public LocalTimeArbitrary minuteBetween(int min, int max)
      Beschreibung aus Schnittstelle kopiert: LocalTimeArbitrary
      Set the allowed lower min (included) and upper max (included) bounder of generated minute values. The minutes can be between 0 and 59.
      Angegeben von:
      minuteBetween in Schnittstelle LocalTimeArbitrary
    • secondBetween

      public LocalTimeArbitrary secondBetween(int min, int max)
      Beschreibung aus Schnittstelle kopiert: LocalTimeArbitrary
      Set the allowed lower min (included) and upper max (included) bounder of generated second values. The minutes can be between 0 and 59.
      Angegeben von:
      secondBetween in Schnittstelle LocalTimeArbitrary
    • ofPrecision

      public LocalTimeArbitrary ofPrecision(ChronoUnit ofPrecision)
      Beschreibung aus Schnittstelle kopiert: LocalTimeArbitrary
      Constrain the precision of generated values. Default value: Seconds. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.
      Angegeben von:
      ofPrecision in Schnittstelle LocalTimeArbitrary