Class DateTimeXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<String,ZonedDateTime>
-
- no.digipost.api.client.representations.xml.DateTimeXmlAdapter
-
public class DateTimeXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<String,ZonedDateTime>
-
-
Constructor Summary
Constructors Constructor Description DateTimeXmlAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
marshal(ZonedDateTime v)
ZonedDateTime
unmarshal(String s)
-
-
-
Method Detail
-
marshal
public String marshal(ZonedDateTime v)
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,ZonedDateTime>
-
unmarshal
public ZonedDateTime unmarshal(String s)
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<String,ZonedDateTime>
-
-