Class 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 Detail

      • PeriodFormatterDataService

        public PeriodFormatterDataService()
    • Method Detail

      • 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