public static class JAXBUtils.DateAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
Constructor and Description |
---|
DateAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
marshal(java.util.Date v) |
java.util.Date |
unmarshal(java.lang.String v) |
public java.lang.String marshal(java.util.Date v) throws java.lang.Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
java.lang.Exception
public java.util.Date unmarshal(java.lang.String v) throws java.lang.Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
java.lang.Exception