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. def +(that: Duration): Time
  2. def -(that: Duration): Time
  3. def -(that: Time): Duration
  4. def <(that: Time): Boolean
  5. def <=(that: Time): Boolean
  6. def >(that: Time): Boolean
  7. def >=(that: Time): Boolean
  8. def floor(that: Duration, zeroTime: Time): Time
  9. def floor(that: Duration): Time
  10. def greater(that: Time): Boolean
  11. def greaterEq(that: Time): Boolean
  12. def isMultipleOf(that: Duration): Boolean
  13. def less(that: Time): Boolean
  14. def lessEq(that: Time): Boolean
  15. def max(that: Time): Time
  16. def milliseconds: Long
  17. def min(that: Time): Time
  18. def minus(that: Duration): Time
  19. def minus(that: Time): Duration
  20. def plus(that: Duration): Time
  21. def to(that: Time, interval: Duration): Seq[Time]
  22. def toString(): String
    Definition Classes
    Time → AnyRef → Any
  23. def until(that: Time, interval: Duration): Seq[Time]