public class ScalarTypeTimeZone extends ScalarTypeBaseVarchar<TimeZone>
jdbcNative, jdbcType, type| Constructor and Description |
|---|
ScalarTypeTimeZone() |
| Modifier and Type | Method and Description |
|---|---|
TimeZone |
convertFromDbString(String dbValue) |
String |
convertToDbString(TimeZone beanValue) |
String |
formatValue(TimeZone v)
Convert the type into a string representation.
|
int |
getLength()
Just return 0.
|
TimeZone |
parse(String value)
Convert the string value to the appropriate java object.
|
bind, format, isDateTimeCapable, jsonFromString, jsonWrite, parseDateTime, read, readData, toBeanType, toJdbcType, toJsonString, writeDataaccumulateScalarTypes, getDbNullValue, getJdbcType, getType, isDbNull, isJdbcNative, jsonToString, loadIgnorepublic int getLength()
ScalarTypeBasegetLength in interface ScalarType<TimeZone>getLength in class ScalarTypeBase<TimeZone>public TimeZone convertFromDbString(String dbValue)
convertFromDbString in class ScalarTypeBaseVarchar<TimeZone>public String convertToDbString(TimeZone beanValue)
convertToDbString in class ScalarTypeBaseVarchar<TimeZone>public String formatValue(TimeZone v)
ScalarTypeReciprocal of parse().
formatValue in interface ScalarType<TimeZone>formatValue in class ScalarTypeBaseVarchar<TimeZone>public TimeZone parse(String value)
ScalarTypeMostly used to support CSV, JSON and XML parsing.
Reciprocal of formatValue().
parse in interface StringParserparse in interface ScalarType<TimeZone>parse in class ScalarTypeBaseVarchar<TimeZone>Copyright © 2014. All Rights Reserved.