Interface Clock
- All Known Implementing Classes:
SystemClock
interface Clock
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the current time, expressed as the number of milliseconds since the epoch.
-
Method Details
-
getCurrentTime
long getCurrentTime()Returns the current time, expressed as the number of milliseconds since the epoch.- Returns:
- current time
-