Added in API level 24
PluralRules.PluralType
public
static
final
enum
PluralRules.PluralType
extends Enum<PluralRules.PluralType>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.text.PluralRules.PluralType> | |
↳ | android.icu.text.PluralRules.PluralType |
Type of plurals and PluralRules.
Summary
Enum values | |
---|---|
PluralRules.PluralType |
CARDINAL
Plural rules for cardinal numbers: 1 file vs. |
PluralRules.PluralType |
ORDINAL
Plural rules for ordinal numbers: 1st file, 2nd file, 3rd file, 4th file, etc. |
Public methods | |
---|---|
static
PluralRules.PluralType
|
valueOf(String name)
|
static
final
PluralType[]
|
values()
|
Inherited methods | |
---|---|
Enum values
CARDINAL
Added in API level 24
public static final PluralRules.PluralType CARDINAL
Plural rules for cardinal numbers: 1 file vs. 2 files.
ORDINAL
Added in API level 24
public static final PluralRules.PluralType ORDINAL
Plural rules for ordinal numbers: 1st file, 2nd file, 3rd file, 4th file, etc.
Public methods
valueOf
public static PluralRules.PluralType valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
PluralRules.PluralType |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[]
[]
{
"last_modified": "Last updated 2024-04-04 UTC.",
"state": ""
}