The bottom value is the smallest possible value.
The top value is the greatest possible value.
The top value is the greatest possible value. It is akin to an infinity.
An undefined value: behaves like Double.NaN
Make a new This
from the given number of nanoseconds
An extractor for finite TimeLikes; eg.:
An extractor for finite TimeLikes; eg.:
duration match { case Duration.Finite(d) => ... case Duration.Top => ..
An extractor for finite This
, yielding its value in nanoseconds.
An extractor for finite This
, yielding its value in nanoseconds.
duration match { case Duration.Nanoseconds(ns) => ... case Duration.Top => ... }
The zero value
Make a new This
from the given number of seconds.
Make a new This
from the given number of seconds.
Because this method takes a Double, it can represent values less than a second.
Note however that there is some slop in floating-point conversion that
limits precision. Currently we can assume at least microsecond precision.