List of utility methods to do Nanosecond to Milliseconds
long | nanosToMillis(final long nanos) Converts the provided number of nanoseconds to milliseconds. return Math.max(0L, Math.round(nanos / 1_000_000.0d));
|
long | nanosToMillis(long l) nanos To Millis return Math.round(((double) l) / nanosInMillisecond); |
long | nanosToMillis(long nanos) Convert nanoseconds time to milliseconds return nanos / nanosPerMilli;
|
float | nanosToMillisFloat(final long currentGuiTime) nanos To Millis Float return (currentGuiTime) / 1000000.0f;
|
double | nanoToMillis(double nanos) nano To Millis return nanos / (double) 1e6; |
long | nanoToMillis(final long nano) nano To Millis return nano / 1000000L;
|