public final class OffsetDateTimeAdapter extends XmlAdapter<String,OffsetDateTime>
OffsetDateTime to a string representation according to XEP-0082: XMPP Date and Time Profiles and vice versa.| Constructor and Description |
|---|
OffsetDateTimeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(OffsetDateTime value) |
OffsetDateTime |
unmarshal(String value) |
public final OffsetDateTime unmarshal(String value) throws Exception
unmarshal in class XmlAdapter<String,OffsetDateTime>Exceptionpublic final String marshal(OffsetDateTime value) throws Exception
marshal in class XmlAdapter<String,OffsetDateTime>ExceptionCopyright © 2014–2015 XMPP.rocks. All rights reserved.