Class WSCurrentTimeSource

java.lang.Object
org.apache.wss4j.common.util.WSCurrentTimeSource
All Implemented Interfaces:
WSTimeSource

public class WSCurrentTimeSource extends Object implements WSTimeSource
  • Constructor Details

    • WSCurrentTimeSource

      public WSCurrentTimeSource()
  • Method Details

    • now

      public Instant now()
      Get the current date time
      Specified by:
      now in interface WSTimeSource
      Returns:
      the current date/time as a Instant object