Partager via


DateFormatSymbols.GetShortWeekdays Method

Definition

Returns abbreviated weekday strings; for example: "Sun", "Mon", etc.

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

Returns

String[]

the abbreviated weekday strings. Use Calendar.SUNDAY, Calendar.MONDAY, etc. to index the result array.

Attributes

Remarks

Returns abbreviated weekday strings; for example: "Sun", "Mon", etc. (Note: the method name is misleading; it does not get the CLDR-style "short" weekday strings, e.g. "Su", "Mo", etc.)

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

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