Calendar.GetMaximum(CalendarField) 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.
Returns the maximum value for the given time field.
[Android.Runtime.Register("getMaximum", "(I)I", "", ApiSince=24)]
public int GetMaximum (Android.Icu.Util.CalendarField field);
[<Android.Runtime.Register("getMaximum", "(I)I", "", ApiSince=24)>]
member this.GetMaximum : Android.Icu.Util.CalendarField -> int
Parameters
- field
- CalendarField
the given time field.
Returns
the maximum value for the given time field.
- Attributes
Remarks
Returns the maximum value for the given time field. e.g. for Gregorian DAY_OF_MONTH, 31.
Java documentation for android.icu.util.Calendar.getMaximum(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.