public class XmlDateTimeAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<XmlDateTime,org.joda.time.DateTime>
Constructor and Description |
---|
XmlDateTimeAdapter() |
Modifier and Type | Method and Description |
---|---|
XmlDateTime |
marshal(org.joda.time.DateTime v) |
XmlDateTime[] |
marshal(org.joda.time.DateTime[] v) |
org.joda.time.DateTime |
unmarshal(XmlDateTime v) |
org.joda.time.DateTime[] |
unmarshal(XmlDateTime[] v) |
public XmlDateTime marshal(org.joda.time.DateTime v) throws java.lang.Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<XmlDateTime,org.joda.time.DateTime>
java.lang.Exception
public org.joda.time.DateTime unmarshal(XmlDateTime v) throws java.lang.Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<XmlDateTime,org.joda.time.DateTime>
java.lang.Exception
public XmlDateTime[] marshal(org.joda.time.DateTime[] v) throws java.lang.Exception
java.lang.Exception
public org.joda.time.DateTime[] unmarshal(XmlDateTime[] v) throws java.lang.Exception
java.lang.Exception