Class containing methods that return a Span
time value calculated from the
Double
value passed to the FloatingGrainOfTime
constructor.
Class containing methods that return a Span
time value calculated from the
Long
value passed to the GrainOfTime
constructor.
Implicit conversion that adds time units methods to Double
s.
Implicit conversion that adds time units methods to Double
s.
a FloatingGrainOfTime
wrapping the passed Double
Implicit conversion that adds time units methods to Float
s.
Implicit conversion that adds time units methods to Float
s.
a FloatingGrainOfTime
wrapping the passed Float
Implicit conversion that adds time units methods to Int
s.
Implicit conversion that adds time units methods to Int
s.
a GrainOfTime
wrapping the passed Int
Implicit conversion that adds time units methods to Long
s.
Implicit conversion that adds time units methods to Long
s.
a GrainOfTime
wrapping the passed Long
Companion object that facilitates the importing of
SpanSugar
members as an alternative to mixing it in. One use case is to importSpanSugar
members so you can use them in the Scala interpreter: