FloatingGrainOfTime

class FloatingGrainOfTime(value: Double)

Class containing methods that return a Span time value calculated from the Double value passed to the FloatingGrainOfTime constructor.

Value parameters:
value

the value to be converted

class Object
trait Matchable
class Any

Value members

Concrete methods

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

A units method for one microsecond.

A units method for one microsecond.

Returns:

A Span representing the value passed to the constructor in microseconds

A units method for microseconds.

A units method for microseconds.

Returns:

A Span representing the value passed to the constructor in microseconds

A shorter units method for milliseconds.

A shorter units method for milliseconds.

Returns:

A Span representing the value passed to the constructor in milliseconds

A units method for one millisecond.

A units method for one millisecond.

Returns:

A Span representing the value passed to the constructor in milliseconds

A units method for milliseconds.

A units method for milliseconds.

Returns:

A Span representing the value passed to the constructor in milliseconds

A units method for one minute.

A units method for one minute.

Returns:

A Span representing the value passed to the constructor in minutes

A units method for minutes.

A units method for minutes.

Returns:

A Span representing the value passed to the constructor in minutes

A units method for one nanosecond.

A units method for one nanosecond.

Returns:

A Span representing the value passed to the constructor in nanoseconds

A units method for nanoseconds.

A units method for nanoseconds.

Returns:

A Span representing the value passed to the constructor in nanoseconds

A units method for one second.

A units method for one second.

Returns:

A Span representing the value passed to the constructor in seconds

A units method for seconds.

A units method for seconds.

Returns:

A Span representing the value passed to the constructor in seconds