共用方式為


DateFormatSymbols.GetAmPmStrings Method

Definition

Returns am/pm strings.

[Android.Runtime.Register("getAmPmStrings", "()[Ljava/lang/String;", "GetGetAmPmStringsHandler", ApiSince=24)]
public virtual string[]? GetAmPmStrings ();
[<Android.Runtime.Register("getAmPmStrings", "()[Ljava/lang/String;", "GetGetAmPmStringsHandler", ApiSince=24)>]
abstract member GetAmPmStrings : unit -> string[]
override this.GetAmPmStrings : unit -> string[]

Returns

String[]

the weekday strings.

Attributes

Remarks

Returns am/pm strings. For example: "AM" and "PM".

Java documentation for android.icu.text.DateFormatSymbols.getAmPmStrings().

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