public interface Clock
Instances of this interface must be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
long |
currentTimeMillis()
Returns a time point that can be used to calculate the difference in milliseconds with another
time point.
|
long currentTimeMillis()