다음을 통해 공유


Calendar.GregorianPreviousMonthLength(Int32, Int32) Method

Definition

Returns the length of a previous month of the Gregorian calendar.

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

Parameters

y
Int32

the extended year

m
Int32

the 0-based month number

Returns

the number of days in the month previous to the given month

Attributes

Remarks

Returns the length of a previous month of the Gregorian calendar.

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