Class DateTimes


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

      • dateTimes

        public static LocalDateTimeArbitrary 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

        @API(status=EXPERIMENTAL,
             since="1.5.5")
        public static OffsetDateTimeArbitrary offsetDateTimes()
      • instants

        @API(status=EXPERIMENTAL,
             since="1.5.4")
        public static InstantArbitrary instants()