class GrainOfTime extends AnyRef
Class containing methods that return a Span time value calculated from the
Long value passed to the GrainOfTime constructor.
- Source
 - SpanSugar.scala
 
- Alphabetic
 - By Inheritance
 
- GrainOfTime
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Instance Constructors
-    new GrainOfTime(value: Long)
- value
 the value to be converted
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
 -    def day: Span
A units method for one day.
A units method for one day.
- returns
 A
Spanrepresenting the value passed to the constructor in days
 -    def days: Span
A units method for days.
A units method for days.
- returns
 A
Spanrepresenting the value passed to the constructor multiplied in days
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    def equals(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef → Any
 
 -    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable])
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -    def hashCode(): Int
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -    def hour: Span
A units method for one hour.
A units method for one hour.
- returns
 A
Spanrepresenting the value passed to the constructor in hours
 -    def hours: Span
A units method for hours.
A units method for hours.
- returns
 A
Spanrepresenting the value passed to the constructor in hours
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -    def microsecond: Span
A units method for one microsecond.
A units method for one microsecond.
- returns
 A
Spanrepresenting the value passed to the constructor in microseconds
 -    def microseconds: Span
A units method for microseconds.
A units method for microseconds.
- returns
 A
Spanrepresenting 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
Spanrepresenting 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
Spanrepresenting the value passed to the constructor in milliseconds
 -    def milliseconds: Span
A units method for milliseconds.
A units method for milliseconds.
- returns
 A
Spanrepresenting 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
Spanrepresenting the value passed to the constructor in minutes
 -    def minutes: Span
A units method for minutes.
A units method for minutes.
- returns
 A
Spanrepresenting 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
Spanrepresenting the value passed to the constructor in nanoseconds
 -    def nanoseconds: Span
A units method for nanoseconds.
A units method for nanoseconds.
- returns
 A
Spanrepresenting the value passed to the constructor in nanoseconds
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native()
 
 -    def second: Span
A units method for one second.
A units method for one second.
- returns
 A
Spanrepresenting the value passed to the constructor in seconds
 -    def seconds: Span
A units method for seconds.
A units method for seconds.
- returns
 A
Spanrepresenting the value passed to the constructor in seconds
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    def toString(): String
- Definition Classes
 - AnyRef → Any
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()