public class CalendarSerializer
extends java.lang.Object
| Constructor and Description |
|---|
CalendarSerializer() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Calendar |
deserialize(java.lang.String strVal)
Deserializes an ISO-8601 formatted date
|
static java.lang.String |
serialize(java.util.Calendar src)
Serialize string.
|
public static java.util.Calendar deserialize(java.lang.String strVal)
throws java.text.ParseException
strVal - the str valjava.text.ParseException - the parse exceptionpublic static java.lang.String serialize(java.util.Calendar src)
src - the src