https://kotlinlang.org logo
a

andrewoma

01/02/2017, 7:18 AM
My reply about using
System.nanoTime()
is complementary not conflicting. You seemed to be asking about timing mechanisms that aren't susceptible to alterations of the system clock -
nanoTime()
is it on JVM. If you're after general time functions,
java.time
is where to look