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