org.gcube.accounting.datamodel.adapter
Class DateTimeAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,org.joda.time.DateTime>
org.gcube.accounting.datamodel.adapter.DateTimeAdapter
public class DateTimeAdapter
- extends XmlAdapter<String,org.joda.time.DateTime>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTimeAdapter
public DateTimeAdapter()
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.