Compartir a través de


UCharacter.GetAge(Int32) Method

Definition

<strong>[icu]</strong> Returns the "age" of the code point.

[Android.Runtime.Register("getAge", "(I)Landroid/icu/util/VersionInfo;", "", ApiSince=24)]
public static Android.Icu.Util.VersionInfo? GetAge (int ch);
[<Android.Runtime.Register("getAge", "(I)Landroid/icu/util/VersionInfo;", "", ApiSince=24)>]
static member GetAge : int -> Android.Icu.Util.VersionInfo

Parameters

ch
Int32

The code point.

Returns

the Unicode version number

Attributes

Remarks

<strong>[icu]</strong> Returns the "age" of the code point.

The "age" is the Unicode version when the code point was first designated (as a non-character or for Private Use) or assigned a character.

This can be useful to avoid emitting code points to receiving processes that do not accept newer characters.

The data is from the UCD file DerivedAge.txt.

Java documentation for android.icu.lang.UCharacter.getAge(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to