public DirectionsApiRequest arrivalTime(Instant time) {
    return param("arrival_time", Long.toString(time.toEpochMilli() / 1000L));
  }
Set the arrival time for a Transit directions request.

@param time The arrival time to calculate directions for.
@return Returns this {@code DirectionsApiRequest} for call chaining.
src/main/java/com/google/maps/DirectionsApiRequest.java