Field
open class Field : Format.Field
kotlin.Any | |||
↳ | java.text.AttributedCharacterIterator.Attribute | ||
↳ | java.text.Format.Field | ||
↳ | android.icu.text.NumberFormat.Field |
The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that NumberFormat.formatToCharacterIterator() method returns.
There is no public constructor to this class, the only instances are the constants defined here.
Summary
Protected constructors | |
---|---|
Constructs a new instance of NumberFormat. |
Protected methods | |
---|---|
open Any! |
serizalization method resolve instances to the constant NumberFormat. |
Properties | |
---|---|
static NumberFormat.Field! |
Approximately sign. |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! | |
static NumberFormat.Field! |
Protected constructors
Field
protected Field(fieldName: String!)
Constructs a new instance of NumberFormat.Field with the given field name.
Protected methods
readResolve
protected open fun readResolve(): Any!
serizalization method resolve instances to the constant NumberFormat.Field values
Return | |
---|---|
Any! |
the resolved Attribute object |
Exceptions | |
---|---|
java.io.InvalidObjectException |
if the object to resolve is not an instance of Attribute |
Properties
APPROXIMATELY_SIGN
static val APPROXIMATELY_SIGN: NumberFormat.Field!
Approximately sign. In ICU 70, this was categorized under the generic SIGN field.