PluralCategory


class PluralCategory
kotlin.Any
   ↳ kotlin.Enum<android.icu.text.DisplayOptions.PluralCategory>
   ↳ android.icu.text.DisplayOptions.PluralCategory

Standard CLDR plural category constants. See http://www.unicode.org/reports/tr35/tr35-numbers.html#Language_Plural_Rules

Summary

Enum values

A possible setting for PluralCategory.

Public methods
static DisplayOptions.PluralCategory!
fromIdentifier(identifier: String!)

String!

Properties
static MutableList<DisplayOptions.PluralCategory!>!

Unmodifiable List of all plural categories constants.

Enum values

OTHER

enum val OTHER : DisplayOptions.PluralCategory

UNDEFINED

enum val UNDEFINED : DisplayOptions.PluralCategory

A possible setting for PluralCategory. The plural category context to be used is unknown (this is the default value).

Public methods

fromIdentifier

static fun fromIdentifier(identifier: String!): DisplayOptions.PluralCategory!
Parameters
identifier String!: in lower case such as "few" or "other"
Return
DisplayOptions.PluralCategory! the plural category corresponding to the identifier, or UNDEFINED

getIdentifier

fun getIdentifier(): String!
Return
String! the lowercase CLDR keyword string for the plural category

Properties

VALUES

static val VALUES: MutableList<DisplayOptions.PluralCategory!>!

Unmodifiable List of all plural categories constants. List version of values().