Package | Description |
---|---|
com.ibm.icu.text |
Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.
|
Modifier and Type | Method and Description |
---|---|
static PluralRules.PluralType |
PluralRules.PluralType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluralRules.PluralType[] |
PluralRules.PluralType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static PluralRules |
PluralRules.forLocale(Locale locale,
PluralRules.PluralType type)
Provides access to the predefined
PluralRules for a given
Locale and the plural type. |
static PluralRules |
PluralRules.forLocale(ULocale locale,
PluralRules.PluralType type)
Provides access to the predefined
PluralRules for a given
locale and the plural type. |
abstract PluralRules |
PluralRules.Factory.forLocale(ULocale locale,
PluralRules.PluralType type)
Deprecated.
This API is ICU internal only.
|
Constructor and Description |
---|
PluralFormat(Locale locale,
PluralRules.PluralType type)
Creates a new
PluralFormat for the plural type. |
PluralFormat(ULocale ulocale,
PluralRules.PluralType type)
Creates a new
PluralFormat for the plural type. |
PluralFormat(ULocale ulocale,
PluralRules.PluralType type,
String pattern)
Creates a new
PluralFormat for a plural type, a
pattern and a locale. |
Copyright © 2016 Unicode, Inc. and others.