Class IntervalAdapter


  • public class IntervalAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<String,​org.joda.time.Interval>
    Author:
    Geoffroy Jamgotchian
    • Constructor Detail

      • IntervalAdapter

        public IntervalAdapter()
    • Method Detail

      • unmarshal

        public org.joda.time.Interval unmarshal​(String v)
                                         throws Exception
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,​org.joda.time.Interval>
        Throws:
        Exception
      • marshal

        public String marshal​(org.joda.time.Interval v)
                       throws Exception
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<String,​org.joda.time.Interval>
        Throws:
        Exception