- java.lang.Object
-
- com.appslandia.common.formatters.Java8DateFormatter<OffsetTime>
-
- com.appslandia.common.formatters.OffsetTimeMFormatter
-
- All Implemented Interfaces:
Formatter
public class OffsetTimeMFormatter extends Java8DateFormatter<OffsetTime>
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description static 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 OffsetTimeMFormatter()OffsetTimeMFormatter(boolean localized)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getArgType()StringgetErrorMsgKey()protected StringgetIsoPattern()protected StringgetLocalizedPattern(FormatProvider formatProvider)protected OffsetTimeparse(String str, DateTimeFormatter formatter)-
Methods inherited from class com.appslandia.common.formatters.Java8DateFormatter
format, getFormatter, parse
-
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
-
-
-
-
Field Detail
-
ERROR_MSG_KEY
public static final String ERROR_MSG_KEY
-
-
Method Detail
-
getErrorMsgKey
public String getErrorMsgKey()
-
getArgType
public Class<?> getArgType()
-
getLocalizedPattern
protected String getLocalizedPattern(FormatProvider formatProvider)
- Specified by:
getLocalizedPatternin classJava8DateFormatter<OffsetTime>
-
getIsoPattern
protected String getIsoPattern()
- Specified by:
getIsoPatternin classJava8DateFormatter<OffsetTime>
-
parse
protected OffsetTime parse(String str, DateTimeFormatter formatter) throws DateTimeParseException
- Specified by:
parsein classJava8DateFormatter<OffsetTime>- Throws:
DateTimeParseException
-
-