Language

GregorianCalendar.HandleGetLimit(CalendarField, Int32) Method

Definition

Subclass API for defining limits of different types.

[Android.Runtime.Register("handleGetLimit", "(II)I", "GetHandleGetLimit_IIHandler", ApiSince=24)]
protected override int HandleGetLimit(Android.Icu.Util.CalendarField field, int limitType);
[<Android.Runtime.Register("handleGetLimit", "(II)I", "GetHandleGetLimit_IIHandler", ApiSince=24)>]
override this.HandleGetLimit : Android.Icu.Util.CalendarField * int -> int

Parameters

field
CalendarField

one of the above field numbers

limitType
Int32

one of MINIMUM, GREATEST_MINIMUM, LEAST_MAXIMUM, or MAXIMUM

Returns

Attributes

Remarks

Subclass API for defining limits of different types.

ERA
YEAR
MONTH
WEEK_OF_YEAR
WEEK_OF_MONTH
DAY_OF_MONTH
DAY_OF_YEAR
DAY_OF_WEEK_IN_MONTH
YEAR_WOY
EXTENDED_YEAR

Android reference for android.icu.util.GregorianCalendar.handleGetLimit.

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