Top Description Constructors Methods
com.ibm.icu.impl.duration.impl

public abstract Class PeriodFormatterDataService

extends Object
Class Inheritance
Known Direct Subclasses
com.ibm.icu.impl.duration.impl.ResourceBasedPeriodFormatterDataService
Imports
java.util.Collection

Abstract service for PeriodFormatterData, which defines the localization data used by period formatters.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract PeriodFormatterData

Returns:

a PeriodFormatterData object
get
(String
the name of the locale
localeName
)

Returns a PeriodFormatterData for the given locale name.

public abstract Collection<String>

Returns:

a collection of locale names, as String
getAvailableLocales
()

Returns a collection of all the locale names supported by this service.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PeriodFormatterDataServiceback to summary
public PeriodFormatterDataService()

Method Detail

getback to summary
public abstract PeriodFormatterData get(String localeName)

Returns a PeriodFormatterData for the given locale name.

Parameters
localeName:String

the name of the locale

Returns:PeriodFormatterData

a PeriodFormatterData object

getAvailableLocalesback to summary
public abstract Collection<String> getAvailableLocales()

Returns a collection of all the locale names supported by this service.

Returns:Collection<String>

a collection of locale names, as String