다음을 통해 공유


Calendar.GetActualMinimum(CalendarField) Method

Definition

Returns the minimum value that the specified calendar field could have, given the time value of this Calendar.

[Android.Runtime.Register("getActualMinimum", "(I)I", "GetGetActualMinimum_IHandler")]
public virtual int GetActualMinimum (Java.Util.CalendarField field);
[<Android.Runtime.Register("getActualMinimum", "(I)I", "GetGetActualMinimum_IHandler")>]
abstract member GetActualMinimum : Java.Util.CalendarField -> int
override this.GetActualMinimum : Java.Util.CalendarField -> int

Parameters

field
CalendarField

the calendar field

Returns

the minimum of the given calendar field for the time value of this Calendar

Attributes

Remarks

Returns the minimum value that the specified calendar field could have, given the time value of this Calendar.

The default implementation of this method uses an iterative algorithm to determine the actual minimum value for the calendar field. Subclasses should, if possible, override this with a more efficient implementation - in many cases, they can simply return getMinimum().

Added in 1.2.

Java documentation for java.util.Calendar.getActualMinimum(.*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