Package com.ibm.icu.impl.duration
Interface PeriodFormatterService
-
- All Known Implementing Classes:
BasicPeriodFormatterService
public interface PeriodFormatterServiceProvider of Factory instances for building PeriodBuilders, PeriodFormatters, and DurationFormatters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<String>getAvailableLocaleNames()Return the names of locales supported by factories produced by this service.DurationFormatterFactorynewDurationFormatterFactory()Creates a new factory for creating DurationFormatters.PeriodBuilderFactorynewPeriodBuilderFactory()Creates a new factory for creating PeriodBuilders.PeriodFormatterFactorynewPeriodFormatterFactory()Creates a new factory for creating PeriodFormatters.
-
-
-
Method Detail
-
newDurationFormatterFactory
DurationFormatterFactory newDurationFormatterFactory()
Creates a new factory for creating DurationFormatters.- Returns:
- a new DurationFormatterFactory.
-
newPeriodFormatterFactory
PeriodFormatterFactory newPeriodFormatterFactory()
Creates a new factory for creating PeriodFormatters.- Returns:
- a new PeriodFormatterFactory
-
newPeriodBuilderFactory
PeriodBuilderFactory newPeriodBuilderFactory()
Creates a new factory for creating PeriodBuilders.- Returns:
- a new PeriodBuilderFactory
-
getAvailableLocaleNames
Collection<String> getAvailableLocaleNames()
Return the names of locales supported by factories produced by this service.- Returns:
- a collection of String (locale names)
-
-