Interface for formatting durations into a string representation.
Formats the given duration in milliseconds into a string representation.