public final class InstantAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.Instant>
Converts an Instant to a string representation according to XEP-0082: XMPP Date and Time Profiles and vice versa.
| Constructor and Description |
|---|
InstantAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
marshal(java.time.Instant v) |
java.time.Instant |
unmarshal(java.lang.String v) |
public final java.time.Instant unmarshal(java.lang.String v)
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.Instant>public final java.lang.String marshal(java.time.Instant v)
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.Instant>Copyright © 2014–2019 XMPP.rocks. All rights reserved.