Methods for formatting time durations.
Implicits for working with Java 8's java.time
(JSR-310).
Implicit wrappers that enrich the Scala scala.concurrent.duration.Duration object.
Implicit conversions for JSR-310 Backport objects.
A Java 8 java.time.temporal.TemporalQuery that gives a java.time.Duration.
A Java 8 java.time.temporal.TemporalQuery that gives a java.time.Duration.
It will look for years, months, days of month, hours, minutes, seconds, millis or nanos. This will not work with a week-based duration.
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.