Class PeriodFormatterDataService
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.duration.impl.PeriodFormatterDataService
- Direct Known Subclasses:
ResourceBasedPeriodFormatterDataService
Abstract service for PeriodFormatterData, which defines the localization data
used by period formatters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PeriodFormatterDataReturns a PeriodFormatterData for the given locale name.abstract Collection<String> Returns a collection of all the locale names supported by this service.
-
Constructor Details
-
PeriodFormatterDataService
public PeriodFormatterDataService()
-
-
Method Details
-
get
Returns a PeriodFormatterData for the given locale name.- Parameters:
localeName- the name of the locale- Returns:
- a PeriodFormatterData object
-
getAvailableLocales
Returns a collection of all the locale names supported by this service.- Returns:
- a collection of locale names, as String
-