DiffTime package:rio
This is a length of time, as measured by a clock. Conversion functions
will treat it as seconds. It has a precision of 10^-12 s.
Get the number of picoseconds in a
DiffTime.
This is a length of time, as measured by UTC. It has a precision of
10^-12 s.
Conversion functions will treat it as seconds. For example, (0.010
:: NominalDiffTime) corresponds to 10 milliseconds.
It ignores leap-seconds, so it's not necessarily a fixed amount of
clock time. For instance, 23:00 UTC + 2 hours of NominalDiffTime =
01:00 UTC (+ 1 day), regardless of whether a leap-second intervened.
Create a
DiffTime from a number of picoseconds.
Scale by a factor. Note that scaleCalendarDiffTime (-1) will
not perfectly invert a duration, due to variable month lengths.
Create a
DiffTime which represents an integral number of
seconds.