code: public static Date toDate(Instant instant) {
          try {
              return new Date(instant.toEpochMilli());
          } catch (ArithmeticException ex) {
              throw new IllegalArgumentException(ex);
          }
      }
docs: Converts an {@code Instant} to a {@code java.util.Date}.
  <p>
  Fractions of the instant smaller than milliseconds will be dropped.
  
  @param instant  the instant, not null
  @return the util date, not null
  @throws IllegalArgumentException if the conversion fails