Condividi tramite


Timestamp.Equals(Timestamp) Method

Definition

Tests to see if this Timestamp object is equal to the given Timestamp object.

[Android.Runtime.Register("equals", "(Ljava/sql/Timestamp;)Z", "GetEquals_Ljava_sql_Timestamp_Handler")]
public virtual bool Equals (Java.Sql.Timestamp? ts);
[<Android.Runtime.Register("equals", "(Ljava/sql/Timestamp;)Z", "GetEquals_Ljava_sql_Timestamp_Handler")>]
override this.Equals : Java.Sql.Timestamp -> bool

Parameters

ts
Timestamp

the Timestamp value to compare with

Returns

true if the given Timestamp object is equal to this Timestamp object; false otherwise

Attributes

Remarks

Tests to see if this Timestamp object is equal to the given Timestamp object.

Java documentation for java.sql.Timestamp.equals(java.sql.Timestamp).

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