Methods for formatting time durations.
Implicit wrappers that enrich the Scala scala.concurrent.duration.Duration object.
Implicit conversions for JSR-310 Backport objects.
Take an amount of time and format it as a user-friendly string.
Take an amount of time and format it as a user-friendly string.
The output string is more human readable than machine friendly: it uses SI prefixes and always has roughly three digits of precision. This makes it easier to see at a glance whether you're talking about milliseconds, seconds, nanoseconds, etc.
The amount of elapsed time, in seconds. This may not be negative.