Scala Standard Library 2.12.18 - scala.concurrent.duration.Duration (original) (raw)
sealed abstract class Duration extends Serializable with Ordered[Duration]
Ordering
- Alphabetic
- By Inheritance
Inherited
- Duration
- Ordered
- Comparable
- Serializable
- Serializable
- AnyRef
- Any
Implicitly
by orderingToOrdered
by durationToPair
by any2stringadd
by StringFormat
by Ensuring
by ArrowAssoc
Hide All
Show All
Abstract Value Members
- abstract def *(factor: Double): Duration
- abstract def +(other: Duration): Duration
- abstract def -(other: Duration): Duration
- abstract def /(divisor: Duration): Double
- abstract def /(divisor: Double): Duration
- abstract def compare(that: Duration): Int
- abstract def isFinite(): Boolean
- abstract def length: Long
- abstract def toCoarsest: Duration
- abstract def toDays: Long
- abstract def toHours: Long
- abstract def toMicros: Long
- abstract def toMillis: Long
- abstract def toMinutes: Long
- abstract def toNanos: Long
- abstract def toSeconds: Long
- abstract def toUnit(unit: TimeUnit): Double
- abstract def unary_-: Duration
- abstract def unit: TimeUnit
Concrete Value Members
- final def !=(arg0: Any): Boolean
- final def ##(): Int
- def ->[B](y: B): (Duration, B)
- def <(that: Duration): Boolean
- def <=(that: Duration): Boolean
- final def ==(arg0: Any): Boolean
- def >(that: Duration): Boolean
- def >=(that: Duration): Boolean
- final def asInstanceOf[T0]: T0
- def clone(): AnyRef
- def compareTo(that: Duration): Int
- def div(other: Duration): Double
- def div(divisor: Double): Duration
- def ensuring(cond: (Duration) ⇒ Boolean, msg: ⇒ Any): Duration
- def ensuring(cond: (Duration) ⇒ Boolean): Duration
- def ensuring(cond: Boolean, msg: ⇒ Any): Duration
- def ensuring(cond: Boolean): Duration
- final def eq(arg0: AnyRef): Boolean
- def equals(arg0: Any): Boolean
- def finalize(): Unit
- final def getClass(): Class[_]
- def gt(other: Duration): Boolean
- def gteq(other: Duration): Boolean
- def hashCode(): Int
- final def isInstanceOf[T0]: Boolean
- def lt(other: Duration): Boolean
- def lteq(other: Duration): Boolean
- def max(other: Duration): Duration
- def min(other: Duration): Duration
- def minus(other: Duration): Duration
- def mul(factor: Double): Duration
- final def ne(arg0: AnyRef): Boolean
- def neg(): Duration
- final def notify(): Unit
- final def notifyAll(): Unit
- def plus(other: Duration): Duration
- def productArity: Int
- def productElement(n: Int): Any
- def swap: (TimeUnit, Long)
- final def synchronized[T0](arg0: ⇒ T0): T0
- def toString(): String
- final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- def →[B](y: B): (Duration, B)