Partager via


DateFormatSymbols.SetWeekdays Method

Definition

Overloads

SetWeekdays(String[])

Sets wide weekday strings.

SetWeekdays(String[], Int32, Int32)

Sets weekday strings.

SetWeekdays(String[])

Sets wide weekday strings.

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

Parameters

newWeekdays
String[]

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

Attributes

Remarks

Sets wide weekday strings. For example: "Sunday", "Monday", etc.

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

SetWeekdays(String[], Int32, Int32)

Sets weekday strings.

[Android.Runtime.Register("setWeekdays", "([Ljava/lang/String;II)V", "GetSetWeekdays_arrayLjava_lang_String_IIHandler", ApiSince=24)]
public virtual void SetWeekdays (string[]? newWeekdays, int context, int width);
[<Android.Runtime.Register("setWeekdays", "([Ljava/lang/String;II)V", "GetSetWeekdays_arrayLjava_lang_String_IIHandler", ApiSince=24)>]
abstract member SetWeekdays : string[] * int * int -> unit
override this.SetWeekdays : string[] * int * int -> unit

Parameters

newWeekdays
String[]

The new weekday strings.

context
Int32

The formatting context, FORMAT or STANDALONE.

width
Int32

The width of the strings, either WIDE, ABBREVIATED, SHORT, or NARROW.

Attributes

Remarks

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

Java documentation for android.icu.text.DateFormatSymbols.setWeekdays(java.lang.String[], int, int).

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