Calendar.HandleGetMonthLength(Int32, Int32) Method

Definition

Returns the number of days in the given month of the given extended year of this calendar system.

[Android.Runtime.Register("handleGetMonthLength", "(II)I", "GetHandleGetMonthLength_IIHandler", ApiSince=24)]
protected virtual int HandleGetMonthLength (int extendedYear, int month);
[<Android.Runtime.Register("handleGetMonthLength", "(II)I", "GetHandleGetMonthLength_IIHandler", ApiSince=24)>]
abstract member HandleGetMonthLength : int * int -> int
override this.HandleGetMonthLength : int * int -> int

Parameters

extendedYear
Int32
month
Int32

Returns

Attributes

Remarks

Returns the number of days in the given month of the given extended year of this calendar system. Subclasses should override this method if they can provide a more correct or more efficient implementation than the default implementation in Calendar.

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