| Constructor and Description |
|---|
YearMonthFormatter() |
| Modifier and Type | Method and Description |
|---|---|
YearMonth |
parse(java.lang.String text,
java.util.Locale locale)
Parse a text String to produce a T.
|
java.lang.String |
print(YearMonth object,
java.util.Locale locale)
Print the object of type T for display.
|
public YearMonth parse(java.lang.String text,
java.util.Locale locale)
throws java.text.ParseException
Parserpublic java.lang.String print(YearMonth object,
java.util.Locale locale)
Printer