Package net.jqwik.time.api
Class DateTimes
java.lang.Object
net.jqwik.time.api.DateTimes
-
Method Summary
Modifier and TypeMethodDescriptionstatic LocalDateTimeArbitraryCreate an arbitrary that generates instances of LocalDateTime.static InstantArbitraryinstants()static OffsetDateTimeArbitrarystatic ZonedDateTimeArbitrary
-
Method Details
-
dateTimes
Create an arbitrary that generates instances of LocalDateTime. All generated dates use the Gregorian Calendar, even if they are before October 15, 1582. By default, local dates with years between 1900 and 2500 are generated.- Returns:
- a new arbitrary instance
-
offsetDateTimes
-
zonedDateTimes
-
instants
-