Package net.jqwik.time.api
Class Times
- java.lang.Object
-
- net.jqwik.time.api.Times
-
@API(status=EXPERIMENTAL, since="1.5.1") public class Times extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DurationArbitrarydurations()Create an arbitrary that generates instances of Duration.static OffsetTimeArbitraryoffsetTimes()Create an arbitrary that generates instances of OffsetTime.static LocalTimeArbitrarytimes()Create an arbitrary that generates instances of LocalTime.static Arbitrary<java.util.TimeZone>timeZones()Create an arbitrary that generates instances of TimeZone.static Arbitrary<java.time.ZoneId>zoneIds()Create an arbitrary that generates instances of ZoneId.static ZoneOffsetArbitraryzoneOffsets()Create an arbitrary that generates instances of ZoneOffset.
-
-
-
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
-
-