Calendar.IsSet(CalendarField) Method

Definition

Determines if the given calendar field has a value set, including cases that the value has been set by internal fields calculations triggered by a get method call.

[Android.Runtime.Register("isSet", "(I)Z", "")]
public bool IsSet (Java.Util.CalendarField field);
[<Android.Runtime.Register("isSet", "(I)Z", "")>]
member this.IsSet : Java.Util.CalendarField -> bool

Parameters

field
CalendarField

the calendar field to test

Returns

true if the given calendar field has a value set; false otherwise.

Attributes

Remarks

Determines if the given calendar field has a value set, including cases that the value has been set by internal fields calculations triggered by a get method call.

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