Share via


DateFormatSymbols.SetMonths Method

Definition

Overloads

SetMonths(String[], Int32, Int32)

Sets month strings.

SetMonths(String[])

Sets month strings.

SetMonths(String[], Int32, Int32)

Sets month strings.

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

Parameters

newMonths
String[]

the new month strings.

context
Int32

The formatting context, FORMAT or STANDALONE.

width
Int32

The width of the month string, either WIDE, ABBREVIATED, or NARROW.

Attributes

Remarks

Sets month strings. For example: "January", "February", etc.

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

SetMonths(String[])

Sets month strings.

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

Parameters

newMonths
String[]

the new month strings.

Attributes

Remarks

Sets month strings. For example: "January", "February", etc.

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