Package com.ibm.icu.impl.duration.impl
Class PeriodFormatterDataService
- java.lang.Object
-
- com.ibm.icu.impl.duration.impl.PeriodFormatterDataService
-
- Direct Known Subclasses:
ResourceBasedPeriodFormatterDataService
public abstract class PeriodFormatterDataService extends java.lang.Object
Abstract service for PeriodFormatterData, which defines the localization data used by period formatters.
-
-
Constructor Summary
Constructors Constructor Description PeriodFormatterDataService()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract PeriodFormatterData
get(java.lang.String localeName)
Returns a PeriodFormatterData for the given locale name.abstract java.util.Collection<java.lang.String>
getAvailableLocales()
Returns a collection of all the locale names supported by this service.
-
-
-
Method Detail
-
get
public abstract PeriodFormatterData get(java.lang.String localeName)
Returns a PeriodFormatterData for the given locale name.- Parameters:
localeName
- the name of the locale- Returns:
- a PeriodFormatterData object
-
getAvailableLocales
public abstract java.util.Collection<java.lang.String> getAvailableLocales()
Returns a collection of all the locale names supported by this service.- Returns:
- a collection of locale names, as String
-
-