Class Times


  • @API(status=EXPERIMENTAL,
         since="1.5.1")
    public class Times
    extends java.lang.Object
    • Method Detail

      • times

        public static LocalTimeArbitrary times()
        Create an arbitrary that generates instances of LocalTime.
        Returns:
        a new arbitrary instance
      • offsetTimes

        public static OffsetTimeArbitrary offsetTimes()
        Create an arbitrary that generates instances of OffsetTime.
        Returns:
        a new arbitrary instance
      • zoneOffsets

        public static ZoneOffsetArbitrary zoneOffsets()
        Create an arbitrary that generates instances of ZoneOffset.
        Returns:
        a new arbitrary instance
      • timeZones

        public static Arbitrary<java.util.TimeZone> timeZones()
        Create an arbitrary that generates instances of TimeZone.
        Returns:
        a new arbitrary instance
      • zoneIds

        public static Arbitrary<java.time.ZoneId> zoneIds()
        Create an arbitrary that generates instances of ZoneId.
        Returns:
        a new arbitrary instance
      • durations

        public static DurationArbitrary durations()
        Create an arbitrary that generates instances of Duration.
        Returns:
        a new arbitrary instance