Class DurationUtil
java.lang.Object
io.opentelemetry.instrumentation.runtimemetrics.java17.internal.DurationUtil
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Method Summary
Modifier and TypeMethodDescriptionstatic doublemillisToSeconds(long milliseconds) static doubleReturns the duration as seconds, with fractional part included.
-
Method Details
-
toSeconds
Returns the duration as seconds, with fractional part included. -
millisToSeconds
public static double millisToSeconds(long milliseconds)
-