DateFormatSymbols.GetWeekdays Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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.