DateFormatSymbols.SetEras(String[]) Method

Definition

Sets abbreviated era strings.

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

Parameters

newEras
String[]

the new era strings.

Attributes

Remarks

Sets abbreviated era strings. For example: "AD" and "BC".

Java documentation for android.icu.text.DateFormatSymbols.setEras(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