cgl.narada.wsinfra.util
Class XmlDateTimeConversion

java.lang.Object
  extended bycgl.narada.wsinfra.util.XmlDateTimeConversion

public class XmlDateTimeConversion
extends Object

This is a utility class which converts between Calendar elements and the XmlDateTime element.


Method Summary
 ExpiresDocument getExpires(Calendar expiresAt)
           
 Calendar getExpires(ExpiresDocument expires)
           
static XmlDateTimeConversion getInstance()
           
 XmlDateTime getXmlDateTime(Calendar calendar)
          Get the XMLDateTime associated with the specified calendar value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static XmlDateTimeConversion getInstance()

getXmlDateTime

public XmlDateTime getXmlDateTime(Calendar calendar)
Get the XMLDateTime associated with the specified calendar value


getExpires

public ExpiresDocument getExpires(Calendar expiresAt)

getExpires

public Calendar getExpires(ExpiresDocument expires)
                    throws XmlException
Throws:
XmlException