Package com.ibm.icu.impl.duration
Interface PeriodFormatterService
- All Known Implementing Classes:
BasicPeriodFormatterService
public interface PeriodFormatterService
Provider of Factory instances for building PeriodBuilders, PeriodFormatters,
and DurationFormatters.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the names of locales supported by factories produced by this service.Creates a new factory for creating DurationFormatters.Creates a new factory for creating PeriodBuilders.Creates a new factory for creating PeriodFormatters.
-
Method Details
-
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)
-