Scala Standard Library 2.13.1 - 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. AnyRef
  6. 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

Visibility

  1. Public
  2. Protected

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: AnyRef): Boolean
  20. def finalize(): Unit
  21. def formatted(fmtstr: String): String
  22. final def getClass(): Class[_ <: AnyRef]
  23. def gt(other: Duration): Boolean
  24. def gteq(other: Duration): Boolean
  25. def hashCode(): Int
  26. final def isInstanceOf[T0]: Boolean
  27. def lt(other: Duration): Boolean
  28. def lteq(other: Duration): Boolean
  29. def max(other: Duration): Duration
  30. def min(other: Duration): Duration
  31. def minus(other: Duration): Duration
  32. def mul(factor: Double): Duration
  33. final def ne(arg0: AnyRef): Boolean
  34. def neg(): Duration
  35. final def notify(): Unit
  36. final def notifyAll(): Unit
  37. def plus(other: Duration): Duration
  38. def productArity: Int
  39. def productElement(n: Int): Any
  40. def productElementNames: Iterator[String]
  41. def swap: (TimeUnit, Long)
  42. final def synchronized[T0](arg0: => T0): T0
  43. def toString(): String
  44. final def wait(): Unit
  45. final def wait(arg0: Long, arg1: Int): Unit
  46. final def wait(arg0: Long): Unit

Deprecated Value Members

  1. def →[B](y: B): (Duration, B)

Ungrouped