Package org.smallmind.nutsnbolts.json
Class ZonedDateTimeXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,ZonedDateTime>
-
- org.smallmind.nutsnbolts.json.ZonedDateTimeXmlAdapter
-
public class ZonedDateTimeXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,ZonedDateTime>
-
-
Constructor Summary
Constructors Constructor Description ZonedDateTimeXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmarshal(ZonedDateTime zonedDateTime)ZonedDateTimeunmarshal(String value)
-
-
-
Method Detail
-
unmarshal
public ZonedDateTime unmarshal(String value)
- Specified by:
unmarshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<String,ZonedDateTime>
-
marshal
public String marshal(ZonedDateTime zonedDateTime)
- Specified by:
marshalin classjavax.xml.bind.annotation.adapters.XmlAdapter<String,ZonedDateTime>
-
-