public final class IsoTextProviderSPI extends Object implements TextProvider
ServiceProvider-implementation for accessing localized calendrical
names in ISO-8601-types.
The underlying properties files are located in the folder "calendar" relative to class path and are encoded in UTF-8. The basic bundle name is "iso8601".
| Constructor and Description |
|---|
IsoTextProviderSPI()
For
java.util.ServiceLoader. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
eras(String calendarType,
Locale locale,
TextWidth textWidth) |
Locale[] |
getAvailableLocales() |
String[] |
getSupportedCalendarTypes() |
String[] |
meridiems(String calendarType,
Locale locale,
TextWidth textWidth) |
String[] |
months(String calendarType,
Locale locale,
TextWidth tw,
OutputContext oc,
boolean leapForm) |
String[] |
quarters(String calendarType,
Locale locale,
TextWidth tw,
OutputContext oc) |
String |
toString() |
String[] |
weekdays(String calendarType,
Locale locale,
TextWidth tw,
OutputContext oc) |
public String[] getSupportedCalendarTypes()
getSupportedCalendarTypes in interface TextProviderpublic Locale[] getAvailableLocales()
getAvailableLocales in interface TextProviderpublic String[] months(String calendarType, Locale locale, TextWidth tw, OutputContext oc, boolean leapForm)
months in interface TextProviderpublic String[] quarters(String calendarType, Locale locale, TextWidth tw, OutputContext oc)
quarters in interface TextProviderpublic String[] weekdays(String calendarType, Locale locale, TextWidth tw, OutputContext oc)
weekdays in interface TextProviderpublic String[] eras(String calendarType, Locale locale, TextWidth textWidth)
eras in interface TextProviderpublic String[] meridiems(String calendarType, Locale locale, TextWidth textWidth)
meridiems in interface TextProviderCopyright © 2014. All rights reserved.