public class DateTimeMarshaller extends Object
Constructor and Description |
---|
DateTimeMarshaller() |
Modifier and Type | Method and Description |
---|---|
static Date |
deserializeDateToUTC(String dt)
convert a String to GMT date
The STring must either be ISO 8601 compliant or
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1 compliant
|
static String |
serializeDateToUTC(Date d)
convert a date to GMT
|
Copyright © 2020. All Rights Reserved.