Class XmlDateTimeTypeAdapter


  • public final class XmlDateTimeTypeAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.util.Date>
    The Class XmlDateTimeTypeAdapter.
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlDateTimeTypeAdapter()
      Instantiates a new xml time type adapter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String marshal​(java.util.Date dt)  
      java.util.Date unmarshal​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

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

      • XmlDateTimeTypeAdapter

        public XmlDateTimeTypeAdapter()
        Instantiates a new xml time type adapter.
    • Method Detail

      • unmarshal

        public java.util.Date unmarshal​(java.lang.String value)
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.util.Date>
      • marshal

        public java.lang.String marshal​(java.util.Date dt)
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,​java.util.Date>