formatDuration abstract method

String formatDuration(
  1. Duration duration
)

Formats the time of the given Duration.

Implementation

String formatDuration(Duration duration);