net.sf.farrago.type.runtime
Class SqlDateTimeWithoutTZ.SqlTime
java.lang.Object
net.sf.farrago.type.runtime.SqlDateTimeWithoutTZ
net.sf.farrago.type.runtime.SqlDateTimeWithoutTZ.SqlTime
- All Implemented Interfaces:
- AssignableValue, DataValue, SpecialDataValue
- Enclosing class:
- SqlDateTimeWithoutTZ
public static class SqlDateTimeWithoutTZ.SqlTime
- extends SqlDateTimeWithoutTZ
SQL time value.
| Methods inherited from class net.sf.farrago.type.runtime.SqlDateTimeWithoutTZ |
adjustPrecision, assignFrom, assignFrom, assignFrom, ceil, ceil, floor, floor, getCal, getClientTimeZone, getNullableData, getPrimitiveClass, getSpecialData, getTempCal, getValueTimeZone, isNull, setCal, setNull, toString, toString |
SqlDateTimeWithoutTZ.SqlTime
public SqlDateTimeWithoutTZ.SqlTime()
- Constructs a new SqlDate
getJdbcValue
protected Object getJdbcValue()
- Description copied from class:
SqlDateTimeWithoutTZ
- Gets data, casted as a Jdbc value.
- Specified by:
getJdbcValue in class SqlDateTimeWithoutTZ
assignFromString
protected void assignFromString(String s,
String format,
TimeZone timeZone)
- Description copied from class:
SqlDateTimeWithoutTZ
- Assigns the value from a string.
- Specified by:
assignFromString in class SqlDateTimeWithoutTZ
- Parameters:
s - a string representing a datetime in the given formatformat - format string as per SimpleDateFormat, not nulltimeZone - target timezone
getFormat
protected String getFormat()
- Description copied from class:
SqlDateTimeWithoutTZ
- Returns the format string for this type.
- Specified by:
getFormat in class SqlDateTimeWithoutTZ
getTypeName
protected String getTypeName()
- Description copied from class:
SqlDateTimeWithoutTZ
- Returns the name of this type: DATE, TIME, or TIMESTAMP.
- Specified by:
getTypeName in class SqlDateTimeWithoutTZ