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, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Time
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def floor(that: Duration, zeroTime: Time): Time
  15. def floor(that: Duration): Time
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def greater(that: Time): Boolean
  18. def greaterEq(that: Time): Boolean
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isMultipleOf(that: Duration): Boolean
  21. def less(that: Time): Boolean
  22. def lessEq(that: Time): Boolean
  23. def max(that: Time): Time
  24. def milliseconds: Long
  25. def min(that: Time): Time
  26. def minus(that: Duration): Time
  27. def minus(that: Time): Duration
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. def plus(that: Duration): Time
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  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(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped