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