Compartilhar via


Calendar.GetLeastMaximum(CalendarField) Method

Definition

Returns the lowest maximum value for the given field if varies.

[Android.Runtime.Register("getLeastMaximum", "(I)I", "", ApiSince=24)]
public int GetLeastMaximum (Android.Icu.Util.CalendarField field);
[<Android.Runtime.Register("getLeastMaximum", "(I)I", "", ApiSince=24)>]
member this.GetLeastMaximum : Android.Icu.Util.CalendarField -> int

Parameters

field
CalendarField

the given time field.

Returns

the lowest maximum value for the given time field.

Attributes

Remarks

Returns the lowest maximum value for the given field if varies. Otherwise same as getMaximum(). e.g., for Gregorian DAY_OF_MONTH, 28.

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