IChronoLocalDate.Equals(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks if this date is equal to another date, including the chronology.
[Android.Runtime.Register("equals", "(Ljava/lang/Object;)Z", "GetEquals_Ljava_lang_Object_Handler:Java.Time.Chrono.IChronoLocalDateInvoker, 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.IChronoLocalDateInvoker, 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 is equal to another date, including the chronology.
Compares this date with another ensuring that the date and chronology are the same.
To compare the dates of two TemporalAccessor
instances, including dates in two different chronologies, use ChronoField#EPOCH_DAY
as a comparator.
Java documentation for java.time.chrono.ChronoLocalDate.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.