final class Duration extends TemporalAmount with Comparable[Duration] with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Duration
- Serializable
- Comparable
- TemporalAmount
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def abs(): Duration
-
def
addTo(temporal: Temporal): Temporal
- Definition Classes
- Duration → TemporalAmount
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compareTo(that: Duration): Int
- Definition Classes
- Duration → Comparable
- def dividedBy(divisor: Long): Duration
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Duration → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(unit: TemporalUnit): Long
- Definition Classes
- Duration → TemporalAmount
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getNano(): Int
- def getSeconds(): Long
-
def
getUnits(): List[TemporalUnit]
- Definition Classes
- Duration → TemporalAmount
-
def
hashCode(): Int
- Definition Classes
- Duration → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNegative(): Boolean
- def isZero(): Boolean
- def minus(amount: Long, unit: TemporalUnit): Duration
- def minus(duration: Duration): Duration
- def minusDays(days: Long): Duration
- def minusHours(hours: Long): Duration
- def minusMillis(millis: Long): Duration
- def minusMinutes(minutes: Long): Duration
- def minusNanos(nanos: Long): Duration
- def minusSeconds(seconds: Long): Duration
- def multipliedBy(multiplicand: Long): Duration
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negated(): Duration
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def plus(amount: Long, unit: TemporalUnit): Duration
- def plus(duration: Duration): Duration
- def plusDays(days: Long): Duration
- def plusHours(hours: Long): Duration
- def plusMillis(millis: Long): Duration
- def plusMinutes(minutes: Long): Duration
- def plusNanos(nanos: Long): Duration
- def plusSeconds(seconds: Long): Duration
-
def
subtractFrom(temporal: Temporal): Temporal
- Definition Classes
- Duration → TemporalAmount
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toDays(): Long
- def toHours(): Long
- def toMillis(): Long
- def toMinutes(): Long
- def toNanos(): Long
-
def
toString(): String
- Definition Classes
- Duration → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withNanos(nanosOfSecond: Int): Duration
- def withSeconds(seconds: Long): Duration