java.lang.Object
io.opentelemetry.instrumentation.runtimemetrics.java17.internal.DurationUtil
public final class DurationUtil
extends Object
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Method Summary
static double
Returns the duration as milliseconds, with fractional part included.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
toMillis
public static double toMillis(Duration duration)
Returns the duration as milliseconds, with fractional part included.