Clock.Fast, Clock.Virtual| Constructor and Description |
|---|
Fast(ScheduledExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getTime()
Returns the current time in milliseconds since the epoch.
|
String |
toString() |
getDate, getDateIncreasing, getDateMonotonic, getTimeIncreasing, getTimeMonotonic, getZone, instant, waitUntil, withZoneequals, fixed, hashCode, millis, offset, system, systemDefaultZone, systemUTC, tick, tickMinutes, tickSecondspublic Fast(ScheduledExecutorService executor)
public long getTime()
ClockgetTime in class ClockSystem.currentTimeMillis(),
Clock.millis()public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2010 - 2020 Adobe. All Rights Reserved