@Test void defaultPeriodIsBetweenMinAndMaxLongs() { Instant min = Instant.ofEpochMilli(Long.MIN_VALUE + 808); Instant max = Instant.ofEpochMilli(Long.MAX_VALUE); assertThat(instant(), allOf(greaterThan(min), lessThan(max))); }
public static Instant instant() { return new RandomDate().instant(); }
Java8RandomShortApi { public static Instant instant() { return new RandomDate().instant(); } }
Java8RandomShortApi { public static Instant instant() { return new RandomDate().instant(); }  }
Java8RandomShortApi { public static Instant instant() { return new RandomDate().instant(); }  static Instant instant(); static List<Instant> instants(int n); static LocalDateTime localDateTime(); static List<LocalDateTime> localDateTimes(int nOfTimes); static ZonedDateTime zonedDateTime(); static List<ZonedDateTime> zonedDateTimes(int nOfTimes); static OffsetDateTime offsetDateTime(); static List<OffsetDateTime> offsetDateTimes(int nOfTimes); static LocalDate localDate(); static List<LocalDate> localDates(int nOfTimes); }
Java8RandomShortApi { public static Instant instant() { return new RandomDate().instant(); }  static Instant instant(); static List<Instant> instants(int n); static LocalDateTime localDateTime(); static List<LocalDateTime> localDateTimes(int nOfTimes); static ZonedDateTime zonedDateTime(); static List<ZonedDateTime> zonedDateTimes(int nOfTimes); static OffsetDateTime offsetDateTime(); static List<OffsetDateTime> offsetDateTimes(int nOfTimes); static LocalDate localDate(); static List<LocalDate> localDates(int nOfTimes);  }