@DecodeType(value=java.sql.Date.class) public class SqlDateDecoder extends DateDecoder
Date
data decoder.
Extends DateDecoder
and returns
a java.sql.Date instance.
DataDecoder.Factory
decoder, DEFAULT_DATE_FORMAT, format, FORMAT, LOCALE_COUNTRY_CODE, LOCALE_LANGUAGE_CODE, VERIFY_LOCALE
LOCALE
Constructor and Description |
---|
SqlDateDecoder() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(String data)
Decode the supplied String data into a new Object data instance.
|
encode
setConfiguration
getConfiguration, getLocale, getLocale, isLocalInstalled
public Object decode(String data) throws DataDecodeException
DataDecoder
decode
in interface DataDecoder
decode
in class DateDecoder
data
- Data to be decoded.DataDecodeException
- Error decoding data.Copyright © 2020. All rights reserved.