Uses of Interface
com.ibm.icu.impl.duration.PeriodBuilder
Packages that use PeriodBuilder
-
Uses of PeriodBuilder in com.ibm.icu.impl.duration
Classes in com.ibm.icu.impl.duration that implement PeriodBuilderModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
Fields in com.ibm.icu.impl.duration declared as PeriodBuilderModifier and TypeFieldDescriptionprivate PeriodBuilder
BasicDurationFormatter.builder
private PeriodBuilder
BasicDurationFormatterFactory.builder
Methods in com.ibm.icu.impl.duration that return PeriodBuilderModifier and TypeMethodDescriptionBasicPeriodBuilderFactory.getFixedUnitBuilder
(TimeUnit unit) Return a builder that represents relative time in terms of the single given TimeUnitPeriodBuilderFactory.getFixedUnitBuilder
(TimeUnit unit) Returns a builder that represents durations in terms of the single given TimeUnit.BasicPeriodBuilderFactory.getMultiUnitBuilder
(int periodCount) Return a builder that formats the given number of periods, starting with the largest period less than or equal to the duration.PeriodBuilderFactory.getMultiUnitBuilder
(int unitCount) Returns a builder that formats up to the given number of time units, starting with the largest unit less than or equal to the duration.BasicPeriodBuilderFactory.getOneOrTwoUnitBuilder()
Return a builder that formats the largest one or two periods, Starting with the largest period less than or equal to the duration.PeriodBuilderFactory.getOneOrTwoUnitBuilder()
Returns a builder that formats the largest one or two time units, starting with the largest period less than or equal to the duration.BasicDurationFormatterFactory.getPeriodBuilder()
Return the current builder.BasicPeriodBuilderFactory.getSingleUnitBuilder()
Return a builder that represents relative time in terms of the largest period less than or equal to the duration.PeriodBuilderFactory.getSingleUnitBuilder()
Returns a builder that represents durations in terms of the single largest period less than or equal to the duration.PeriodBuilder.withLocale
(String localeName) Returns a new PeriodBuilder that uses the provided locale to determine what periods are available for use.PeriodBuilderImpl.withLocale
(String localeName) protected PeriodBuilder
FixedUnitBuilder.withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) protected PeriodBuilder
MultiUnitBuilder.withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) protected PeriodBuilder
OneOrTwoUnitBuilder.withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) protected abstract PeriodBuilder
PeriodBuilderImpl.withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) protected PeriodBuilder
SingleUnitBuilder.withSettings
(BasicPeriodBuilderFactory.Settings settingsToUse) PeriodBuilder.withTimeZone
(TimeZone tz) Returns a new PeriodBuilder that computes periods starting at dates in the provided time zone.PeriodBuilderImpl.withTimeZone
(TimeZone timeZone) Methods in com.ibm.icu.impl.duration with parameters of type PeriodBuilderModifier and TypeMethodDescriptionBasicDurationFormatterFactory.setPeriodBuilder
(PeriodBuilder builder) Set the builder used by the factory.DurationFormatterFactory.setPeriodBuilder
(PeriodBuilder builder) Set the builder used by the factory.Constructors in com.ibm.icu.impl.duration with parameters of type PeriodBuilderModifierConstructorDescriptionBasicDurationFormatter
(PeriodFormatter formatter, PeriodBuilder builder, DateFormatter fallback, long fallbackLimit) Creates a basic duration formatter with the given formatter, builder, and fallback.protected
BasicDurationFormatter
(PeriodFormatter formatter, PeriodBuilder builder, DateFormatter fallback, long fallbackLimit, String localeName, TimeZone timeZone)