DateFormatSymbols.GetWeekdays Method

Definition

Overloads

GetWeekdays(Int32, Int32)

Returns weekday strings.

GetWeekdays()

Returns wide weekday strings.

GetWeekdays(Int32, Int32)

Returns weekday strings.

[Android.Runtime.Register("getWeekdays", "(II)[Ljava/lang/String;", "GetGetWeekdays_IIHandler", ApiSince=24)]
public virtual string[]? GetWeekdays (int context, int width);
[<Android.Runtime.Register("getWeekdays", "(II)[Ljava/lang/String;", "GetGetWeekdays_IIHandler", ApiSince=24)>]
abstract member GetWeekdays : int * int -> string[]
override this.GetWeekdays : int * int -> string[]

Parameters

context
Int32

Formatting context, either FORMAT or STANDALONE.

width
Int32

Width of strings to be returned, either WIDE, ABBREVIATED, SHORT, or NARROW

Returns

String[]

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

Attributes

Remarks

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

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

GetWeekdays()

Returns wide weekday strings.

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

Returns

String[]

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

Attributes

Remarks

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

Java documentation for android.icu.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