Freigeben über


Calendar.After(Object) Method

Definition

Compares the time field records.

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

Parameters

when
Object

the Calendar to be compared with this Calendar.

Returns

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

Attributes

Remarks

Compares the time field records. Equivalent to comparing result of conversion to UTC.

Java documentation for android.icu.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