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