Packages

case class Time(millis: Long) extends Product with Serializable

This is a simple class that represents an absolute instant of time. Internally, it represents time as the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC. This is the same format as what is returned by System.currentTimeMillis.

Source
Time.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Time
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Time(millis: Long)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(that: Duration): Time
  4. def -(that: Duration): Time
  5. def -(that: Time): Duration
  6. def <(that: Time): Boolean
  7. def <=(that: Time): Boolean
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def >(that: Time): Boolean
  10. def >=(that: Time): Boolean
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def floor(that: Duration, zeroTime: Time): Time
  16. def floor(that: Duration): Time
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def greater(that: Time): Boolean
  19. def greaterEq(that: Time): Boolean
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isMultipleOf(that: Duration): Boolean
  22. def less(that: Time): Boolean
  23. def lessEq(that: Time): Boolean
  24. def max(that: Time): Time
  25. def milliseconds: Long
  26. def min(that: Time): Time
  27. def minus(that: Duration): Time
  28. def minus(that: Time): Duration
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def plus(that: Duration): Time
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def to(that: Time, interval: Duration): Seq[Time]
  35. def toString(): String
    Definition Classes
    Time → AnyRef → Any
  36. def until(that: Time, interval: Duration): Seq[Time]
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped