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