Calendar.HandleGetLimit(CalendarField, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Subclass API for defining limits of different types.
[Android.Runtime.Register("handleGetLimit", "(II)I", "GetHandleGetLimit_IIHandler", ApiSince=24)]
protected abstract int HandleGetLimit (Android.Icu.Util.CalendarField field, int limitType);
[<Android.Runtime.Register("handleGetLimit", "(II)I", "GetHandleGetLimit_IIHandler", ApiSince=24)>]
abstract member 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. Subclasses must implement this method to return limits for the following fields:
ERA
YEAR
MONTH
WEEK_OF_YEAR
WEEK_OF_MONTH
DAY_OF_MONTH
DAY_OF_YEAR
DAY_OF_WEEK_IN_MONTH
YEAR_WOY
EXTENDED_YEAR
Java documentation for android.icu.util.Calendar.handleGetLimit(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.