Uses of Enum Class
net.time4j.format.PluralCategory
Package
Description
Defines common interfaces for any format support of Time4J.
This package contains the expert-level format- and parse engine of Time4J.
-
Uses of PluralCategory in net.time4j.format
Modifier and TypeMethodDescriptionabstract PluralCategory
PluralRules.getCategory(long count)
Determines the plural category for given number of units.static PluralCategory
Returns the enum constant of this class with the specified name.static PluralCategory[]
PluralCategory.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionUnitPatternProvider.getDayPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of days in the past or future.UnitPatternProvider.getDayPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of days.UnitPatternProvider.getHourPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of hours in the past or future.UnitPatternProvider.getHourPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of hours.UnitPatternProvider.getMicroPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of microseconds.UnitPatternProvider.getMilliPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of milliseconds.UnitPatternProvider.getMinutePattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of minutes in the past or future.UnitPatternProvider.getMinutePattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of minutes.UnitPatternProvider.getMonthPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of months in the past or future.UnitPatternProvider.getMonthPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of months.UnitPatternProvider.getNanoPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of nanoseconds.UnitPatternProvider.getSecondPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of seconds in the past or future.UnitPatternProvider.getSecondPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of seconds.RelativeTimeProvider.getShortDayPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of days in the past or future.RelativeTimeProvider.getShortHourPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of hours in the past or future.RelativeTimeProvider.getShortMinutePattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of minutes in the past or future.RelativeTimeProvider.getShortMonthPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of months in the past or future.RelativeTimeProvider.getShortSecondPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of seconds in the past or future.RelativeTimeProvider.getShortWeekPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of weeks in the past or future.RelativeTimeProvider.getShortYearPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with short unit name and a placeholder "{0}" for the count of years in the past or future.UnitPatternProvider.getWeekPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of weeks in the past or future.UnitPatternProvider.getWeekPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of weeks.UnitPatternProvider.getYearPattern(Locale lang, boolean future, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of years in the past or future.UnitPatternProvider.getYearPattern(Locale lang, TextWidth width, PluralCategory category)
Yields the localized unit pattern with unit name and a placeholder "{0}" for the count of years. -
Uses of PluralCategory in net.time4j.format.expert
Modifier and TypeMethodDescriptionChronoFormatter.Builder.addOrdinal(ChronoElement<Integer> element, Map<PluralCategory,String> indicators)
Defines an ordinal format for given chronological element.