Class

org.scalatest.time.SpanSugar

GrainOfTime

Related Doc: package SpanSugar

Permalink

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
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GrainOfTime
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GrainOfTime(value: Long)

    Permalink

    value

    the value to be converted

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def day: Span

    Permalink

    A units method for one day.

    A units method for one day.

    returns

    A Span representing the value passed to the constructor in days

  7. def days: Span

    Permalink

    A units method for days.

    A units method for days.

    returns

    A Span representing the value passed to the constructor multiplied in days

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hour: Span

    Permalink

    A units method for one hour.

    A units method for one hour.

    returns

    A Span representing the value passed to the constructor in hours

  14. def hours: Span

    Permalink

    A units method for hours.

    A units method for hours.

    returns

    A Span representing the value passed to the constructor in hours

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def microsecond: Span

    Permalink

    A units method for one microsecond.

    A units method for one microsecond.

    returns

    A Span representing the value passed to the constructor in microseconds

  17. def microseconds: Span

    Permalink

    A units method for microseconds.

    A units method for microseconds.

    returns

    A Span representing the value passed to the constructor in microseconds

  18. def millis: Span

    Permalink

    A shorter units method for milliseconds.

    A shorter units method for milliseconds.

    returns

    A Span representing the value passed to the constructor in milliseconds

  19. def millisecond: Span

    Permalink

    A units method for one millisecond.

    A units method for one millisecond.

    returns

    A Span representing the value passed to the constructor in milliseconds

  20. def milliseconds: Span

    Permalink

    A units method for milliseconds.

    A units method for milliseconds.

    returns

    A Span representing the value passed to the constructor in milliseconds

  21. def minute: Span

    Permalink

    A units method for one minute.

    A units method for one minute.

    returns

    A Span representing the value passed to the constructor in minutes

  22. def minutes: Span

    Permalink

    A units method for minutes.

    A units method for minutes.

    returns

    A Span representing the value passed to the constructor in minutes

  23. def nanosecond: Span

    Permalink

    A units method for one nanosecond.

    A units method for one nanosecond.

    returns

    A Span representing the value passed to the constructor in nanoseconds

  24. def nanoseconds: Span

    Permalink

    A units method for nanoseconds.

    A units method for nanoseconds.

    returns

    A Span representing the value passed to the constructor in nanoseconds

  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def second: Span

    Permalink

    A units method for one second.

    A units method for one second.

    returns

    A Span representing the value passed to the constructor in seconds

  29. def seconds: Span

    Permalink

    A units method for seconds.

    A units method for seconds.

    returns

    A Span representing the value passed to the constructor in seconds

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped