org.scalatest.time.SpanSugar

FloatingGrainOfTime

class FloatingGrainOfTime extends AnyRef

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. FloatingGrainOfTime
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FloatingGrainOfTime (value: Double)

    value

    the value to be converted

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. 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

  9. 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

  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  14. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  15. 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

  16. 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

  17. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  18. 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

  19. 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

  20. 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

  21. 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

  22. 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

  23. 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

  24. 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

  25. 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

  26. 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

  27. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  28. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  29. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. 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

  31. 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

  32. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  33. def toString (): String

    Definition Classes
    AnyRef → Any
  34. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any