Share via


DateFormatSymbols.SetMonths(String[]) Method

Definition

Sets month strings.

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

Parameters

newMonths
String[]

the new month strings. The array should be indexed by java.util.Calendar#JANUARY Calendar.JANUARY, java.util.Calendar#FEBRUARY Calendar.FEBRUARY, etc.

Attributes

Remarks

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

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