Package 

Class TimeProvider


  • 
    public class TimeProvider
    
                        

    Class which provides the current time. This is useful to pass in to classes so that it's easier to mock out the result in unit tests.

    • Method Summary

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

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