org.apache.ws.security.util
Class WSCurrentTimeSource

java.lang.Object
  extended by org.apache.ws.security.util.WSCurrentTimeSource
All Implemented Interfaces:
WSTimeSource

public class WSCurrentTimeSource
extends Object
implements WSTimeSource


Constructor Summary
WSCurrentTimeSource()
           
 
Method Summary
 Date now()
          Get the current date time
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSCurrentTimeSource

public WSCurrentTimeSource()
Method Detail

now

public Date now()
Get the current date time

Specified by:
now in interface WSTimeSource
Returns:
the current date/time as a date object


Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.