Calendar.After(Object) Method

Definition

Returns whether this Calendar represents a time after the time represented by the specified Object.

[Android.Runtime.Register("after", "(Ljava/lang/Object;)Z", "GetAfter_Ljava_lang_Object_Handler")]
public virtual bool After (Java.Lang.Object? when);
[<Android.Runtime.Register("after", "(Ljava/lang/Object;)Z", "GetAfter_Ljava_lang_Object_Handler")>]
abstract member After : Java.Lang.Object -> bool
override this.After : Java.Lang.Object -> bool

Parameters

when
Object

the Object to be compared

Returns

true if the time of this Calendar is after the time represented by when; false otherwise.

Attributes

Exceptions

if the time is not set and the time cannot be computed from the current field values.

Remarks

Java documentation for java.util.Calendar.after(java.lang.Object).

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