DateFormatSymbols.GetMonths Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetMonths() |
Returns month strings. |
GetMonths(Int32, Int32) |
Returns month strings. |
GetMonths()
Returns month strings.
[Android.Runtime.Register("getMonths", "()[Ljava/lang/String;", "GetGetMonthsHandler", ApiSince=24)]
public virtual string[]? GetMonths ();
[<Android.Runtime.Register("getMonths", "()[Ljava/lang/String;", "GetGetMonthsHandler", ApiSince=24)>]
abstract member GetMonths : unit -> string[]
override this.GetMonths : unit -> string[]
Returns
the month strings.
- Attributes
Remarks
Returns month strings. For example: "January", "February", etc.
Java documentation for android.icu.text.DateFormatSymbols.getMonths()
.
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
GetMonths(Int32, Int32)
Returns month strings.
[Android.Runtime.Register("getMonths", "(II)[Ljava/lang/String;", "GetGetMonths_IIHandler", ApiSince=24)]
public virtual string[]? GetMonths (int context, int width);
[<Android.Runtime.Register("getMonths", "(II)[Ljava/lang/String;", "GetGetMonths_IIHandler", ApiSince=24)>]
abstract member GetMonths : int * int -> string[]
override this.GetMonths : int * int -> string[]
Parameters
- context
- Int32
The month context, FORMAT or STANDALONE.
- width
- Int32
The width or the returned month string, either WIDE, ABBREVIATED, or NARROW.
Returns
the month strings.
- Attributes
Remarks
Returns month strings. For example: "January", "February", etc.
Java documentation for android.icu.text.DateFormatSymbols.getMonths(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.