Compartilhar via


IChronology.Equals(Object) Method

Definition

Checks if this chronology is equal to another chronology.

[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "GetEquals_Ljava_lang_Object_Handler:Java.Time.Chrono.IChronologyInvoker, 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.IChronologyInvoker, 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 chronology

Attributes

Remarks

Checks if this chronology is equal to another chronology.

The comparison is based on the entire state of the object.

Java documentation for java.time.chrono.Chronology.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