public class YearMonthFormatter extends Java8DateFormatter<YearMonth>
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 and Description |
|---|
YearMonthFormatter() |
YearMonthFormatter(boolean localized) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getArgType() |
protected String |
getIsoPattern() |
protected String |
getLocalizedPattern(FormatProvider formatProvider) |
protected YearMonth |
parse(String str,
DateTimeFormatter formatter) |
format, getFormatter, parseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorMsgKey, toNumberOverflowError, toParsingError, toParsingErrorpublic YearMonthFormatter()
public YearMonthFormatter(boolean localized)
protected String getLocalizedPattern(FormatProvider formatProvider)
getLocalizedPattern in class Java8DateFormatter<YearMonth>protected String getIsoPattern()
getIsoPattern in class Java8DateFormatter<YearMonth>public Class<?> getArgType()
protected YearMonth parse(String str, DateTimeFormatter formatter) throws DateTimeParseException
parse in class Java8DateFormatter<YearMonth>DateTimeParseExceptionCopyright © 2021. All rights reserved.