Class OffsetTimeProvider
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.OffsetTimeProvider
- All Implemented Interfaces:
TimeProvider
Implementation of the
TimeProvider
that delegates calls to the common Time
class.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns current time in millisecondsint
Returns current time in seconds
-
Constructor Details
-
OffsetTimeProvider
public OffsetTimeProvider()
-
-
Method Details
-
currentTimeSeconds
public int currentTimeSeconds()Description copied from interface:TimeProvider
Returns current time in seconds- Specified by:
currentTimeSeconds
in interfaceTimeProvider
- Returns:
- see description
-
currentTimeMillis
public long currentTimeMillis()Description copied from interface:TimeProvider
Returns current time in milliseconds- Specified by:
currentTimeMillis
in interfaceTimeProvider
- Returns:
- see description
-