Package com.appslandia.common.formatters
Class SqlTimeMFormatter
- java.lang.Object
-
- com.appslandia.common.formatters.DateFormatter
-
- com.appslandia.common.formatters.SqlTimeMFormatter
-
- All Implemented Interfaces:
Formatter
public class SqlTimeMFormatter extends DateFormatter
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_MSG_KEY-
Fields inherited from interface com.appslandia.common.formatters.Formatter
BIGDECIMAL, BIGDECIMAL_L, BOOLEAN, BYTE, DATE, DATE_L, DB_TAGS, DOUBLE, DOUBLE_L, FLOAT, FLOAT_L, INTEGER, INTEGER_L, KEYWORDS, LOCAL_DATE, LOCAL_DATE_L, LOCAL_DATETIME, LOCAL_DATETIME_L, LOCAL_DATETIME_M, LOCAL_DATETIME_ML, LOCAL_TIME, LOCAL_TIME_M, LONG, LONG_L, OFFSET_DATETIME, OFFSET_DATETIME_L, OFFSET_DATETIME_M, OFFSET_DATETIME_ML, OFFSET_TIME, OFFSET_TIME_M, SHORT, SHORT_L, STRING, STRING_ELC, STRING_EUC, TAG, TAGS, TEXT, TEXT_ML, TIME, TIME_M, TIMESTAMP, TIMESTAMP_L, TIMESTAMP_M, TIMESTAMP_ML, YEAR_MONTH, YEAR_MONTH_L
-
-
Constructor Summary
Constructors Constructor Description SqlTimeMFormatter()SqlTimeMFormatter(boolean localized)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>getArgType()java.lang.StringgetErrorMsgKey()protected java.lang.StringgetIsoPattern()protected java.lang.StringgetLocalizedPattern(FormatProvider formatProvider)java.sql.Timeparse(java.lang.String str, FormatProvider formatProvider)-
Methods inherited from class com.appslandia.common.formatters.DateFormatter
doParse, format
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.appslandia.common.formatters.Formatter
toNumberOverflowError, toParsingError, toParsingError
-
-
-
-
Method Detail
-
getErrorMsgKey
public java.lang.String getErrorMsgKey()
-
getArgType
public java.lang.Class<?> getArgType()
-
getLocalizedPattern
protected java.lang.String getLocalizedPattern(FormatProvider formatProvider)
- Specified by:
getLocalizedPatternin classDateFormatter
-
getIsoPattern
protected java.lang.String getIsoPattern()
- Specified by:
getIsoPatternin classDateFormatter
-
parse
public java.sql.Time parse(java.lang.String str, FormatProvider formatProvider) throws FormatterException- Throws:
FormatterException
-
-