package timere
Module Timere.SpanSource
Signed/directional span of time expressed as a tuple of (s, ns)
sis the signed second of the spannsis the unsigned nanosecond offset
The actual span represented is defined as s * 10^9 + ns in nanosecond, regardless of the sign of s
Order is defined using lexicographic order, i.e. lt x y iff. x.s < y.s || (x.s = y.s && x.ns < y.ns)
s defaults to 0L, ns defaults to 0
ns may be negative, and is normalized during construction
Interpretation of provided input is still s + ns, i.e. if you wish to represent "negative (1 second and 500 nanosecond)", then the call could look like make ~s:(-1L) ~ns:(-500)