Java.Util.Calendar.IsSet Method
Tests whether the given field is set.

Syntax

[Android.Runtime.Register("isSet", "(I)Z", "")]
public bool IsSet ([Android.Runtime.GeneratedEnum] CalendarField field)

Parameters

field
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Tests whether the given field is set. Note that the interpretation of "is set" is somewhat technical. In particular, it does not mean that the field's value is up to date. If you want to know whether a field contains an up-to-date value, you must also check areFieldsSet, making this method somewhat useless unless you're a subclass, in which case you can access the isSet array directly.

A field remains "set" from the first time its value is computed until it's cleared by one of the clear methods. Thus "set" does not mean "valid". You probably want to call get -- which will update fields as necessary -- rather than try to make use of this method.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1