formatArrivalTime method

String formatArrivalTime(
  1. DateFormat formatter
)

Formats the estimatedArrivalTime using the provided date formatter.

Implementation

String formatArrivalTime(DateFormat formatter) {
  return formatter.format(estimatedArrivalTime);
}