GregorianCalendar conforming to the ISO8601 standard based on Joda-Time.
The converter will always serialize the calendar value in UTC and deserialize it to a value in the current default time zone.
| Modifier and Type | Field and Description |
|---|---|
| private static final DateTimeFormatter[] | |
| private static final DateTimeFormatter[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canConvert(final Class<T>
the Class representing the object type to be converted type)Implements abstract com. Implements com. |
| public Object | fromString(final String
the String with the single value of the Object str)Implements abstract com. Implements com. |
| public String | toString(final Object
the Object to be converted obj)Overrides com. Implements com. |
| formattersNoUTC | back to summary |
|---|---|
| private static final DateTimeFormatter[] formattersNoUTC | |
| formattersUTC | back to summary |
|---|---|
| private static final DateTimeFormatter[] formattersUTC | |
| ISO8601JodaTimeConverter | back to summary |
|---|---|
| public ISO8601JodaTimeConverter() | |
| canConvert | back to summary |
|---|---|
| public boolean canConvert(final Class<T> type) Implements abstract com. Implements com. Doc from com. Determines whether the converter can marshall a particular type.
| |
| fromString | back to summary |
|---|---|
| public Object fromString(final String str) Implements abstract com. Implements com. Doc from com. Unmarshals an Object from its single value representation. | |
| toString | back to summary |
|---|---|
| public String toString(final Object obj) Overrides com. Implements com. Doc from com. Marshals an Object into a single value representation. | |