Scala Standard Library 2.12.18 - scala.concurrent.duration.Duration (original) (raw)

sealed abstract class Duration extends Serializable with Ordered[Duration]

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Duration
  2. Ordered
  3. Comparable
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any

Implicitly

  1. by orderingToOrdered

  2. by durationToPair

  3. by any2stringadd

  4. by StringFormat

  5. by Ensuring

  6. by ArrowAssoc

  7. Hide All

  8. Show All

Abstract Value Members

  1. abstract def *(factor: Double): Duration
  2. abstract def +(other: Duration): Duration
  3. abstract def -(other: Duration): Duration
  4. abstract def /(divisor: Duration): Double
  5. abstract def /(divisor: Double): Duration
  6. abstract def compare(that: Duration): Int
  7. abstract def isFinite(): Boolean
  8. abstract def length: Long
  9. abstract def toCoarsest: Duration
  10. abstract def toDays: Long
  11. abstract def toHours: Long
  12. abstract def toMicros: Long
  13. abstract def toMillis: Long
  14. abstract def toMinutes: Long
  15. abstract def toNanos: Long
  16. abstract def toSeconds: Long
  17. abstract def toUnit(unit: TimeUnit): Double
  18. abstract def unary_-: Duration
  19. abstract def unit: TimeUnit

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##(): Int
  3. def ->[B](y: B): (Duration, B)
  4. def <(that: Duration): Boolean
  5. def <=(that: Duration): Boolean
  6. final def ==(arg0: Any): Boolean
  7. def >(that: Duration): Boolean
  8. def >=(that: Duration): Boolean
  9. final def asInstanceOf[T0]: T0
  10. def clone(): AnyRef
  11. def compareTo(that: Duration): Int
  12. def div(other: Duration): Double
  13. def div(divisor: Double): Duration
  14. def ensuring(cond: (Duration) ⇒ Boolean, msg: ⇒ Any): Duration
  15. def ensuring(cond: (Duration) ⇒ Boolean): Duration
  16. def ensuring(cond: Boolean, msg: ⇒ Any): Duration
  17. def ensuring(cond: Boolean): Duration
  18. final def eq(arg0: AnyRef): Boolean
  19. def equals(arg0: Any): Boolean
  20. def finalize(): Unit
  21. final def getClass(): Class[_]
  22. def gt(other: Duration): Boolean
  23. def gteq(other: Duration): Boolean
  24. def hashCode(): Int
  25. final def isInstanceOf[T0]: Boolean
  26. def lt(other: Duration): Boolean
  27. def lteq(other: Duration): Boolean
  28. def max(other: Duration): Duration
  29. def min(other: Duration): Duration
  30. def minus(other: Duration): Duration
  31. def mul(factor: Double): Duration
  32. final def ne(arg0: AnyRef): Boolean
  33. def neg(): Duration
  34. final def notify(): Unit
  35. final def notifyAll(): Unit
  36. def plus(other: Duration): Duration
  37. def productArity: Int
  38. def productElement(n: Int): Any
  39. def swap: (TimeUnit, Long)
  40. final def synchronized[T0](arg0: ⇒ T0): T0
  41. def toString(): String
  42. final def wait(): Unit
  43. final def wait(arg0: Long, arg1: Int): Unit
  44. final def wait(arg0: Long): Unit
  45. def →[B](y: B): (Duration, B)

Ungrouped