Class

net.sansa_stack.inference.spark.utils.PrettyDuration

PrettyPrintableDuration

Related Doc: package PrettyDuration

Permalink

implicit final class PrettyPrintableDuration extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrettyPrintableDuration
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PrettyPrintableDuration(duration: Duration)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def abbreviate(unit: TimeUnit): String

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def chooseUnit(nanos: Long): TimeUnit

    Permalink
  7. val duration: Duration

    Permalink
  8. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. def pretty(includeNanos: Boolean, precision: Int = 4): String

    Permalink

    Selects most apropriate TimeUnit for given duration and formats it accordingly

  11. def pretty: String

    Permalink
  12. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped