public class ISO8601ZonedDateTimeAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.ZonedDateTime>
Constructor and Description |
---|
ISO8601ZonedDateTimeAdapter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
marshal(java.time.ZonedDateTime dateTime) |
java.time.ZonedDateTime |
unmarshal(java.lang.String dateTimeAsString) |
public java.time.ZonedDateTime unmarshal(java.lang.String dateTimeAsString) throws java.lang.Exception
unmarshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.ZonedDateTime>
java.lang.Exception
public java.lang.String marshal(java.time.ZonedDateTime dateTime) throws java.lang.Exception
marshal
in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.ZonedDateTime>
java.lang.Exception