Freigeben über


DateFormatSymbols.SetShortWeekdays(String[]) Method

Definition

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

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

Parameters

newAbbrevWeekdays
String[]

the new abbreviated weekday strings. The array should be indexed by Calendar.SUNDAY, Calendar.MONDAY, etc.

Attributes

Remarks

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

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