Share via


Calendar.GregorianMonthLength(Int32, Int32) Method

Definition

Returns the length of a month of the Gregorian calendar.

[Android.Runtime.Register("gregorianMonthLength", "(II)I", "", ApiSince=24)]
protected static int GregorianMonthLength (int y, int m);
[<Android.Runtime.Register("gregorianMonthLength", "(II)I", "", ApiSince=24)>]
static member GregorianMonthLength : int * int -> int

Parameters

y
Int32

the extended year

m
Int32

the 0-based month number

Returns

the number of days in the given month

Attributes

Remarks

Returns the length of a month of the Gregorian calendar.

Java documentation for android.icu.util.Calendar.gregorianMonthLength(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