pl.project13.scala.concurrent.util

Duration

object Duration extends Serializable

Annotations
@deprecated
Deprecated

When ScalaWords uses Scala 2.10 this should be removed

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Duration
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Infinite extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit object DurationIsOrdered extends Ordering[Duration]

  7. val Inf: Duration

    Infinite duration: greater than any other and not equal to any other, including itself.

  8. val MinusInf: Duration

    Infinite negative duration: lesser than any other and not equal to any other, including itself.

  9. val Undefined: Duration

  10. val Zero: FiniteDuration

  11. def apply(s: String): Duration

    Construct a Duration by parsing a String.

    Construct a Duration by parsing a String. In case of a format error, a RuntimeException is thrown. See unapply(String) for more information.

  12. def apply(length: Long, unit: String): FiniteDuration

  13. def apply(length: Double, unit: TimeUnit): FiniteDuration

  14. def apply(length: Long, unit: TimeUnit): FiniteDuration

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def create(length: Long, unit: String): FiniteDuration

  18. def create(length: Double, unit: TimeUnit): FiniteDuration

  19. def create(length: Long, unit: TimeUnit): FiniteDuration

  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. def fromNanos(nanos: Long): FiniteDuration

  24. def fromNanos(nanos: Double): FiniteDuration

  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def parse(s: String): Duration

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. implicit def timeLeft(implicit d: Deadline): Duration

  34. def timeUnit(unit: String): TimeUnit

    Parse TimeUnit from string representation.

    Parse TimeUnit from string representation.

    Attributes
    protected[pl.project13.scala.concurrent.util]
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. def unapply(s: String): Option[Duration]

    Parse String, return None if no match.

    Parse String, return None if no match. Format is "<length><unit>", where whitespace is allowed before, between and after the parts. Infinities are designated by "Inf", "PlusInf", "+Inf" and "-Inf" or "MinusInf".

  37. def unapply(d: Duration): Option[(Long, TimeUnit)]

    Deconstruct a Duration into Long length and java.util.concurrent.TimeUnit if it is a scala.util.concurrent.FiniteDuration.

    Deconstruct a Duration into Long length and java.util.concurrent.TimeUnit if it is a scala.util.concurrent.FiniteDuration.

    d

    Duration to be deconstructed.

  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped