@DecodeType(value=java.util.Calendar.class) public class CalendarDecoder extends LocaleAwareDateDecoder implements DataDecoder
Calendar data decoder.
Decodes the supplied string into a Calendar value
based on the supplied "format" parameter.
This decoder is synchronized on its underlying SimpleDateFormat instance.LocaleAwareDateDecoder},
Serialized FormDataDecoder.Factorydecoder, DEFAULT_DATE_FORMAT, format, FORMAT, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_CODE, VERIFY_LOCALELOCALE| Constructor and Description |
|---|
CalendarDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decode(String data)
Decode the supplied String data into a new Object data instance.
|
setConfigurationgetConfiguration, getLocale, getLocale, isLocalInstalledpublic Object decode(String data) throws DataDecodeException
DataDecoderdecode in interface DataDecoderdata - Data to be decoded.DataDecodeException - Error decoding data.Copyright © 2020. All rights reserved.