Package 

Class SystemClock


  • 
    public class SystemClock
    
                        

    Detour for System.currentTimeMillis and System.nanoTime calls so that they can be mocked out in tests.

    • Method Summary

      Modifier and Type Method Description
      static long currentTimeMillis()
      static long nanoTime()
      static long uptimeMillis()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait