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