Calendar.GetLimit(CalendarField, Int32) Method

Definition

Returns a limit for a field.

[Android.Runtime.Register("getLimit", "(II)I", "GetGetLimit_IIHandler", ApiSince=24)]
protected virtual int GetLimit (Android.Icu.Util.CalendarField field, int limitType);
[<Android.Runtime.Register("getLimit", "(II)I", "GetGetLimit_IIHandler", ApiSince=24)>]
abstract member GetLimit : Android.Icu.Util.CalendarField * int -> int
override this.GetLimit : Android.Icu.Util.CalendarField * int -> int

Parameters

field
CalendarField

the field, from 0..getFieldCount()-1

limitType
Int32

the type specifier for the limit

Returns

Attributes

Remarks

Returns a limit for a field.

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