다음을 통해 공유


DateFormatSymbols.GetEras Method

Definition

Gets era strings.

[Android.Runtime.Register("getEras", "()[Ljava/lang/String;", "GetGetErasHandler")]
public virtual string[]? GetEras ();
[<Android.Runtime.Register("getEras", "()[Ljava/lang/String;", "GetGetErasHandler")>]
abstract member GetEras : unit -> string[]
override this.GetEras : unit -> string[]

Returns

String[]

the era strings.

Attributes

Remarks

Gets era strings. For example: "AD" and "BC".

Java documentation for java.text.DateFormatSymbols.getEras().

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