共用方式為


DateFormatSymbols.GetWeekdays Method

Definition

Gets weekday strings.

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

Returns

String[]

the weekday strings. Use java.util.Calendar#SUNDAY Calendar.SUNDAY, java.util.Calendar#MONDAY Calendar.MONDAY, etc. to index the result array.

Attributes

Remarks

Gets weekday strings. For example: "Sunday", "Monday", etc.

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

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