Partager via


DateFormatSymbols.SetQuarters(String[], Int32, Int32) Method

Definition

<strong>[icu]</strong> Sets quarter strings.

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

Parameters

newQuarters
String[]

the new quarter strings.

context
Int32

The formatting context, FORMAT or STANDALONE.

width
Int32

The width of the quarter string, WIDE, NARROW, or ABBREVIATED.

Attributes

Remarks

<strong>[icu]</strong> Sets quarter strings. For example: "1st Quarter", "2nd Quarter", etc.

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