Packages

final class Duration extends TemporalAmount with Comparable[Duration] with Serializable

Linear Supertypes
Serializable, Comparable[Duration], TemporalAmount, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Duration
  2. Serializable
  3. Comparable
  4. TemporalAmount
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def abs(): Duration
  5. def addTo(temporal: Temporal): Temporal
    Definition Classes
    DurationTemporalAmount
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def compareTo(that: Duration): Int
    Definition Classes
    Duration → Comparable
  9. def dividedBy(divisor: Long): Duration
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(that: Any): Boolean
    Definition Classes
    Duration → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def get(unit: TemporalUnit): Long
    Definition Classes
    DurationTemporalAmount
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getNano(): Int
  16. def getSeconds(): Long
  17. def getUnits(): List[TemporalUnit]
    Definition Classes
    DurationTemporalAmount
  18. def hashCode(): Int
    Definition Classes
    Duration → AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isNegative(): Boolean
  21. def isZero(): Boolean
  22. def minus(amount: Long, unit: TemporalUnit): Duration
  23. def minus(duration: Duration): Duration
  24. def minusDays(days: Long): Duration
  25. def minusHours(hours: Long): Duration
  26. def minusMillis(millis: Long): Duration
  27. def minusMinutes(minutes: Long): Duration
  28. def minusNanos(nanos: Long): Duration
  29. def minusSeconds(seconds: Long): Duration
  30. def multipliedBy(multiplicand: Long): Duration
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def negated(): Duration
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def plus(amount: Long, unit: TemporalUnit): Duration
  36. def plus(duration: Duration): Duration
  37. def plusDays(days: Long): Duration
  38. def plusHours(hours: Long): Duration
  39. def plusMillis(millis: Long): Duration
  40. def plusMinutes(minutes: Long): Duration
  41. def plusNanos(nanos: Long): Duration
  42. def plusSeconds(seconds: Long): Duration
  43. def subtractFrom(temporal: Temporal): Temporal
    Definition Classes
    DurationTemporalAmount
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toDays(): Long
  46. def toHours(): Long
  47. def toMillis(): Long
  48. def toMinutes(): Long
  49. def toNanos(): Long
  50. def toString(): String
    Definition Classes
    Duration → AnyRef → Any
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  54. def withNanos(nanosOfSecond: Int): Duration
  55. def withSeconds(seconds: Long): Duration

Inherited from Serializable

Inherited from Comparable[Duration]

Inherited from TemporalAmount

Inherited from AnyRef

Inherited from Any

Ungrouped