Package org.apache.pekko.util
Class PrettyDuration$
- java.lang.Object
-
- org.apache.pekko.util.PrettyDuration$
-
public class PrettyDuration$ extends java.lang.Object
INTERNAL API
-
-
Field Summary
Fields Modifier and Type Field Description static PrettyDuration$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description PrettyDuration$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(scala.concurrent.duration.Duration duration)
JAVA API Selects most appropriate TimeUnit for given duration and formats it accordingly, with 4 digits precisionjava.lang.String
format(scala.concurrent.duration.Duration duration, boolean includeNanos, int precision)
JAVA API Selects most appropriate TimeUnit for given duration and formats it accordinglyPrettyDuration.PrettyPrintableDuration
PrettyPrintableDuration(scala.concurrent.duration.Duration duration)
-
-
-
Field Detail
-
MODULE$
public static final PrettyDuration$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
format
public java.lang.String format(scala.concurrent.duration.Duration duration)
JAVA API Selects most appropriate TimeUnit for given duration and formats it accordingly, with 4 digits precision
-
format
public java.lang.String format(scala.concurrent.duration.Duration duration, boolean includeNanos, int precision)
JAVA API Selects most appropriate TimeUnit for given duration and formats it accordingly
-
PrettyPrintableDuration
public PrettyDuration.PrettyPrintableDuration PrettyPrintableDuration(scala.concurrent.duration.Duration duration)
-
-