Class StringIntervalAdapter


  • public class StringIntervalAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​org.joda.time.Duration>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.joda.time.format.PeriodFormatter DEFAULT_PERIOD_FORMATTER
      Constant DEFAULT_PERIOD_FORMATTER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String marshal​(org.joda.time.Duration v)
      org.joda.time.Duration unmarshal​(java.lang.String v)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_PERIOD_FORMATTER

        public static final org.joda.time.format.PeriodFormatter DEFAULT_PERIOD_FORMATTER
        Constant DEFAULT_PERIOD_FORMATTER
    • Constructor Detail

      • StringIntervalAdapter

        public StringIntervalAdapter()
    • Method Detail

      • marshal

        public java.lang.String marshal​(org.joda.time.Duration v)
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​org.joda.time.Duration>
      • unmarshal

        public org.joda.time.Duration unmarshal​(java.lang.String v)
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​org.joda.time.Duration>