Class PeriodFormatterDataService

java.lang.Object
com.ibm.icu.impl.duration.impl.PeriodFormatterDataService
Direct Known Subclasses:
ResourceBasedPeriodFormatterDataService

public abstract class PeriodFormatterDataService extends Object
Abstract service for PeriodFormatterData, which defines the localization data used by period formatters.
  • Constructor Details

    • PeriodFormatterDataService

      public PeriodFormatterDataService()
  • Method Details

    • get

      public abstract PeriodFormatterData get(String localeName)
      Returns a PeriodFormatterData for the given locale name.
      Parameters:
      localeName - the name of the locale
      Returns:
      a PeriodFormatterData object
    • getAvailableLocales

      public abstract Collection<String> getAvailableLocales()
      Returns a collection of all the locale names supported by this service.
      Returns:
      a collection of locale names, as String