- java.lang.Object
-
- fm.last.commons.lang.time.Clock
-
- fm.last.commons.test.time.StubClock
-
-
Field Summary
-
Fields inherited from class fm.last.commons.lang.time.Clock
INSTANCE
-
Constructor Summary
Constructors
| Constructor and Description |
StubClock() |
-
Method Summary
-
Methods inherited from class fm.last.commons.lang.time.Clock
getInstance
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
StubClock
public StubClock()
-
Method Detail
-
nanoTime
public long nanoTime()
- Specified by:
nanoTime in class fm.last.commons.lang.time.Clock
-
newDate
public Date newDate()
- Specified by:
newDate in class fm.last.commons.lang.time.Clock
Copyright © 2016 Last.fm. All Rights Reserved.