Package mops.businesslogic.time
Class TimeServiceImpl
- java.lang.Object
-
- mops.businesslogic.time.TimeServiceImpl
-
- All Implemented Interfaces:
TimeService
@Service public class TimeServiceImpl extends java.lang.Object implements TimeService
Queries the time.
-
-
Constructor Summary
Constructors Constructor Description TimeServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Instant
getInstantNow()
Get the current Instant time.
-
-
-
Method Detail
-
getInstantNow
public java.time.Instant getInstantNow()
Get the current Instant time.- Specified by:
getInstantNow
in interfaceTimeService
- Returns:
- current time as Instant
-
-