class FloatingGrainOfTime extends AnyRef
Class containing methods that return a Span
time value calculated from the
Double
value passed to the FloatingGrainOfTime
constructor.
- Source
- SpanSugar.scala
- Alphabetic
- By Inheritance
- FloatingGrainOfTime
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new FloatingGrainOfTime(value: Double)
- value
the value to be converted
Value Members
- def day: Span
A units method for one day.
A units method for one day.
- returns
A
Span
representing the value passed to the constructor in days
- def days: Span
A units method for days.
A units method for days.
- returns
A
Span
representing the value passed to the constructor multiplied in days
- def hour: Span
A units method for one hour.
A units method for one hour.
- returns
A
Span
representing the value passed to the constructor in hours
- def hours: Span
A units method for hours.
A units method for hours.
- returns
A
Span
representing the value passed to the constructor in hours
- def microsecond: Span
A units method for one microsecond.
A units method for one microsecond.
- returns
A
Span
representing the value passed to the constructor in microseconds
- def microseconds: Span
A units method for microseconds.
A units method for microseconds.
- returns
A
Span
representing the value passed to the constructor in microseconds
- def millis: Span
A shorter units method for milliseconds.
A shorter units method for milliseconds.
- returns
A
Span
representing the value passed to the constructor in milliseconds
- def millisecond: Span
A units method for one millisecond.
A units method for one millisecond.
- returns
A
Span
representing the value passed to the constructor in milliseconds
- def milliseconds: Span
A units method for milliseconds.
A units method for milliseconds.
- returns
A
Span
representing the value passed to the constructor in milliseconds
- def minute: Span
A units method for one minute.
A units method for one minute.
- returns
A
Span
representing the value passed to the constructor in minutes
- def minutes: Span
A units method for minutes.
A units method for minutes.
- returns
A
Span
representing the value passed to the constructor in minutes
- def nanosecond: Span
A units method for one nanosecond.
A units method for one nanosecond.
- returns
A
Span
representing the value passed to the constructor in nanoseconds
- def nanoseconds: Span
A units method for nanoseconds.
A units method for nanoseconds.
- returns
A
Span
representing the value passed to the constructor in nanoseconds
- def second: Span
A units method for one second.
A units method for one second.
- returns
A
Span
representing the value passed to the constructor in seconds
- def seconds: Span
A units method for seconds.
A units method for seconds.
- returns
A
Span
representing the value passed to the constructor in seconds