public class XmlZonedDateTimeHelper extends XMLDateHelper
| Constructor and Description |
|---|
XmlZonedDateTimeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static ZonedDateTime |
deserializeRfc1123DateTime(String xml)
Deserialize the RFC 1123 zoned date time string.
|
static ZonedDateTime |
deserializeRfc8601DateTime(String xml)
Deserialize the RFC 8601 zoned date time string.
|
static ZonedDateTime |
deserializeUnixTimeStamp(String xml)
Deserialize the unix time stamp zoned date time string.
|
static String |
serializeRfc1123DateTime(ZonedDateTime dateObj,
String rootName)
Serialize the RFC 1123 zoned date time object.
|
static String |
serializeRfc8601DateTime(ZonedDateTime dateObj,
String rootName)
Serialize the RFC 8601 zoned date time object.
|
static String |
serializeUnixTimeStamp(ZonedDateTime dateObj,
String rootName)
Serialize the Unixtime stamp zoned date time object.
|
deserializeSimpleDate, serializeSimpleDatepublic static String serializeRfc8601DateTime(ZonedDateTime dateObj, String rootName)
dateObj - An instance of ZonedDateTime.rootName - The XML root name.public static ZonedDateTime deserializeRfc8601DateTime(String xml)
xml - A XML string.ZonedDateTime.public static String serializeRfc1123DateTime(ZonedDateTime dateObj, String rootName)
dateObj - An instance of ZonedDateTime.rootName - The XML root name.public static ZonedDateTime deserializeRfc1123DateTime(String xml)
xml - A XML string.ZonedDateTime.public static String serializeUnixTimeStamp(ZonedDateTime dateObj, String rootName)
dateObj - An instance of ZonedDateTime.rootName - The XML root name.public static ZonedDateTime deserializeUnixTimeStamp(String xml)
xml - A XML string.ZonedDateTime.Copyright © 2025. All rights reserved.