Package org.apache.wss4j.common.util
Interface WSTimeSource
-
- All Known Implementing Classes:
WSCurrentTimeSource
public interface WSTimeSourceThis interface allows the Time Source used to set dates and times to be overridden by the application.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Instantnow()Get the current date time
-
-
-
Method Detail
-
now
Instant now()
Get the current date time- Returns:
- the current date/time as a Instant object
-
-