Class DateTimes


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LocalDateTimeArbitrary dateTimes()
      Create an arbitrary that generates instances of LocalDateTime.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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