Partager via


DateFormatSymbols.GetQuarters(Int32, Int32) Method

Definition

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

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

Parameters

context
Int32

The quarter context, FORMAT or STANDALONE.

width
Int32

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

Returns

String[]

the quarter strings.

Attributes

Remarks

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

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