public class ZonedDateTimeXmlAdapter extends XmlAdapter<String,ZonedDateTime>
| Constructor and Description |
|---|
ZonedDateTimeXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(ZonedDateTime zonedDateTime)
When marshalling, the provided zonedDateTime is normalized to UTC, so that the output is consistent between
dates and time zones.
|
ZonedDateTime |
unmarshal(String s) |
public ZonedDateTime unmarshal(String s)
unmarshal in class XmlAdapter<String,ZonedDateTime>public String marshal(ZonedDateTime zonedDateTime)
marshal in class XmlAdapter<String,ZonedDateTime>zonedDateTime - the zonedDateTime to marshallCopyright © 2015 Red Hat, Inc.. All rights reserved.