Class 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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PeriodFormatterDataService

        public PeriodFormatterDataService()
    • 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