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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getAvailableLocaleNames()
Return the names of locales supported by factories produced by this service.DurationFormatterFactory
newDurationFormatterFactory()
Creates a new factory for creating DurationFormatters.PeriodBuilderFactory
newPeriodBuilderFactory()
Creates a new factory for creating PeriodBuilders.PeriodFormatterFactory
newPeriodFormatterFactory()
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
java.util.Collection<java.lang.String> getAvailableLocaleNames()
Return the names of locales supported by factories produced by this service.- Returns:
- a collection of String (locale names)
-
-