Package org.apache.wss4j.common.util
Class WSCurrentTimeSource
- java.lang.Object
-
- org.apache.wss4j.common.util.WSCurrentTimeSource
-
- All Implemented Interfaces:
WSTimeSource
public class WSCurrentTimeSource extends Object implements WSTimeSource
-
-
Constructor Summary
Constructors Constructor Description WSCurrentTimeSource()
-
-
-
Method Detail
-
now
public Instant now()
Get the current date time- Specified by:
now
in interfaceWSTimeSource
- Returns:
- the current date/time as a Instant object
-
-