Package com.emc.object.util
Class Iso8601DateAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
-
- com.emc.object.util.Iso8601DateAdapter
-
public class Iso8601DateAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
-
-
Constructor Summary
Constructors Constructor Description Iso8601DateAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.text.DateFormat
getFormat()
java.lang.String
marshal(java.util.Date date)
java.util.Date
unmarshal(java.lang.String s)
-
-
-
Method Detail
-
unmarshal
public java.util.Date unmarshal(java.lang.String s) throws java.lang.Exception
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
- Throws:
java.lang.Exception
-
marshal
public java.lang.String marshal(java.util.Date date) throws java.lang.Exception
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.Date>
- Throws:
java.lang.Exception
-
getFormat
public static java.text.DateFormat getFormat()
-
-