Udostępnij za pośrednictwem


Date.After(Date) Method

Definition

Tests if this date is after the specified date.

[Android.Runtime.Register("after", "(Ljava/util/Date;)Z", "GetAfter_Ljava_util_Date_Handler")]
public virtual bool After (Java.Util.Date? when);
[<Android.Runtime.Register("after", "(Ljava/util/Date;)Z", "GetAfter_Ljava_util_Date_Handler")>]
abstract member After : Java.Util.Date -> bool
override this.After : Java.Util.Date -> bool

Parameters

when
Date

a date.

Returns

true if and only if the instant represented by this Date object is strictly later than the instant represented by when; false otherwise.

Attributes

Remarks

Tests if this date is after the specified date.

Java documentation for java.util.Date.after(java.util.Date).

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