다음을 통해 공유


DateFormatSymbols.SetShortMonths(String[]) Method

Definition

Sets short month strings.

[Android.Runtime.Register("setShortMonths", "([Ljava/lang/String;)V", "GetSetShortMonths_arrayLjava_lang_String_Handler")]
public virtual void SetShortMonths (string[]? newShortMonths);
[<Android.Runtime.Register("setShortMonths", "([Ljava/lang/String;)V", "GetSetShortMonths_arrayLjava_lang_String_Handler")>]
abstract member SetShortMonths : string[] -> unit
override this.SetShortMonths : string[] -> unit

Parameters

newShortMonths
String[]

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

Attributes

Remarks

Sets short month strings. For example: "Jan", "Feb", etc.

Java documentation for java.text.DateFormatSymbols.setShortMonths(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