Class IdServerClock
java.lang.Object
com.io7m.idstore.server.service.clock.IdServerClock
- All Implemented Interfaces:
IdServiceType
A service that exposes a clock.
-
Constructor Details
-
IdServerClock
A service that exposes a clock.- Parameters:
inClock- The clock
-
-
Method Details
-
description
- Specified by:
descriptionin interfaceIdServiceType- Returns:
- The service description
-
now
- Returns:
- The current time to the nearest second
-
nowPrecise
- Returns:
- The current time
-
toString
-