public class ResourceBasedPeriodFormatterDataService extends PeriodFormatterDataService
| Modifier and Type | Method and Description |
|---|---|
PeriodFormatterData |
get(String localeName)
Returns a PeriodFormatterData for the given locale name.
|
Collection<String> |
getAvailableLocales()
Returns a collection of all the locale names supported by this service.
|
static ResourceBasedPeriodFormatterDataService |
getInstance()
Returns the singleton instance of this class.
|
public static ResourceBasedPeriodFormatterDataService getInstance()
public PeriodFormatterData get(String localeName)
PeriodFormatterDataServiceget in class PeriodFormatterDataServicelocaleName - the name of the localepublic Collection<String> getAvailableLocales()
PeriodFormatterDataServicegetAvailableLocales in class PeriodFormatterDataService