Partager via


DateFormatSymbols.SetEraNames(String[]) Method

Definition

<strong>[icu]</strong> Sets full era name strings.

[Android.Runtime.Register("setEraNames", "([Ljava/lang/String;)V", "GetSetEraNames_arrayLjava_lang_String_Handler", ApiSince=24)]
public virtual void SetEraNames (string[]? newEraNames);
[<Android.Runtime.Register("setEraNames", "([Ljava/lang/String;)V", "GetSetEraNames_arrayLjava_lang_String_Handler", ApiSince=24)>]
abstract member SetEraNames : string[] -> unit
override this.SetEraNames : string[] -> unit

Parameters

newEraNames
String[]

the new era strings.

Attributes

Remarks

<strong>[icu]</strong> Sets full era name strings. For example: "Anno Domini" and "Before Christ".

Java documentation for android.icu.text.DateFormatSymbols.setEraNames(java.lang.String[]).

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