Share via


IChronoLocalDateTime.Equals(Object) Method

Definition

Checks if this date-time is equal to another date-time, including the chronology.

[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "GetEquals_Ljava_lang_Object_Handler:Java.Time.Chrono.IChronoLocalDateTimeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public bool Equals (Java.Lang.Object? obj);
[<Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "GetEquals_Ljava_lang_Object_Handler:Java.Time.Chrono.IChronoLocalDateTimeInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Equals : Java.Lang.Object -> bool

Parameters

obj
Object

the object to check, null returns false

Returns

true if this is equal to the other date

Attributes

Remarks

Checks if this date-time is equal to another date-time, including the chronology.

Compares this date-time with another ensuring that the date-time and chronology are the same.

Java documentation for java.time.chrono.ChronoLocalDateTime.equals(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