| Modifier and Type | Field and Description |
|---|---|
| private BasicPeriodFormatterFactory. | |
| private PeriodFormatterData | |
| private BasicPeriodFormatterFactory | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | BasicPeriodFormatter(BasicPeriodFormatterFactory factory, String localeName, PeriodFormatterData data, BasicPeriodFormatterFactory.
|
| Modifier and Type | Method and Description |
|---|---|
| public String | format(Period
the Period to format period)Implements com. |
| private String | |
| public PeriodFormatter | withLocale(String
the name of the new locale locName)Implements com. |
| customs | back to summary |
|---|---|
| private BasicPeriodFormatterFactory. | |
| data | back to summary |
|---|---|
| private PeriodFormatterData data | |
| factory | back to summary |
|---|---|
| private BasicPeriodFormatterFactory factory | |
| localeName | back to summary |
|---|---|
| private String localeName | |
| BasicPeriodFormatter | back to summary |
|---|---|
| pack-priv BasicPeriodFormatter(BasicPeriodFormatterFactory factory, String localeName, PeriodFormatterData data, BasicPeriodFormatterFactory. | |
| format | back to summary |
|---|---|
| public String format(Period period) Implements com. Doc from com. Format a Period. | |
| format | back to summary |
|---|---|
| private String format(int tl, boolean inFuture, int[] counts) | |
| withLocale | back to summary |
|---|---|
| public PeriodFormatter withLocale(String locName) Implements com. Doc from com. Return a new PeriodFormatter with the same customizations but using data for a new locale. Some locales impose limits on the fields that can be directly formatter.
| |