| Package | Description |
|---|---|
| net.time4j.format |
Defines common interfaces for any format support of Time4J.
|
| Modifier and Type | Method and Description |
|---|---|
abstract PluralCategory |
PluralRules.getCategory(long count)
Determines the plural category for given number of units.
|
static PluralCategory |
PluralCategory.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluralCategory[] |
PluralCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
UnitPatternProvider.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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
String |
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.
|
Copyright © 2014–2017. All rights reserved.