Calendar.IsEquivalentTo(Calendar) 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.
<strong>[icu]</strong> Returns true if the given Calendar object is equivalent to this one.
[Android.Runtime.Register("isEquivalentTo", "(Landroid/icu/util/Calendar;)Z", "GetIsEquivalentTo_Landroid_icu_util_Calendar_Handler", ApiSince=24)]
public virtual bool IsEquivalentTo (Android.Icu.Util.Calendar? other);
[<Android.Runtime.Register("isEquivalentTo", "(Landroid/icu/util/Calendar;)Z", "GetIsEquivalentTo_Landroid_icu_util_Calendar_Handler", ApiSince=24)>]
abstract member IsEquivalentTo : Android.Icu.Util.Calendar -> bool
override this.IsEquivalentTo : Android.Icu.Util.Calendar -> bool
Parameters
- other
- Calendar
the Calendar to be compared with this Calendar
Returns
- Attributes
Remarks
<strong>[icu]</strong> Returns true if the given Calendar object is equivalent to this one. An equivalent Calendar will behave exactly as this one does, but it may be set to a different time. By contrast, for the equals() method to return true, the other Calendar must be set to the same time.
Java documentation for android.icu.util.Calendar.isEquivalentTo(android.icu.util.Calendar)
.
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.