Calendar.GregorianMonthLength(Int32, Int32) Method

Definition

Returns the length of a month of the Gregorian calendar.

C#
[Android.Runtime.Register("gregorianMonthLength", "(II)I", "", ApiSince=24)]
protected static int GregorianMonthLength(int y, int m);

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

Proizvod Verzije
.NET for Android .NET for Android API 34, .NET for Android API 35