public interface Clock
Normally this would be system time, but for testing a custom Clock can be provided.
| 限定符和类型 | 方法和说明 |
|---|---|
long |
currentTimeMillis()
Return the current system time in milliseconds.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.