org.gcube.accounting.datamodel.adapter
Class DateTimeAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,org.joda.time.DateTime>
      extended by org.gcube.accounting.datamodel.adapter.DateTimeAdapter

public class DateTimeAdapter
extends XmlAdapter<String,org.joda.time.DateTime>


Constructor Summary
DateTimeAdapter()
           
 
Method Summary
 String marshal(org.joda.time.DateTime v)
           
 org.joda.time.DateTime unmarshal(String v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeAdapter

public DateTimeAdapter()
Method Detail

unmarshal

public org.joda.time.DateTime unmarshal(String v)
                                 throws Exception
Specified by:
unmarshal in class XmlAdapter<String,org.joda.time.DateTime>
Throws:
Exception

marshal

public String marshal(org.joda.time.DateTime v)
               throws Exception
Specified by:
marshal in class XmlAdapter<String,org.joda.time.DateTime>
Throws:
Exception


Copyright © 2013. All Rights Reserved.