final class Timestamp extends AnyVal with Comparable[Timestamp]

Millisecond-precision, general purpose, cross compiled timestamp representation.

Linear Supertypes
Comparable[Timestamp], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Timestamp
  2. Comparable
  3. AnyVal
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Timestamp(millis: Long)

    millis

    milliseconds since UNIX epoch, UTC

Value Members

  1. def +(duration: FiniteDuration): Timestamp
  2. def -(duration: FiniteDuration): Timestamp
  3. def <(other: Timestamp): Boolean
  4. def <=(other: Timestamp): Boolean
  5. def >(other: Timestamp): Boolean
  6. def >=(other: Timestamp): Boolean
  7. def add(amount: Long, unit: TimeUnit): Timestamp
  8. def compareTo(o: Timestamp): Int
    Definition Classes
    Timestamp → Comparable
  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. val millis: Long
  11. def toString(): String
    Definition Classes
    Timestamp → Any
  12. def until(other: Timestamp): FiniteDuration