LocalDateTime.CompareTo 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.
Overloads
CompareTo(Object) | |
CompareTo(IChronoLocalDateTime) |
CompareTo(Object)
public int CompareTo (Java.Lang.Object obj);
abstract member CompareTo : Java.Lang.Object -> int
override this.CompareTo : Java.Lang.Object -> int
Parameters
- obj
- Object
Returns
Implements
Applies to
CompareTo(IChronoLocalDateTime)
[Android.Runtime.Register("compareTo", "(Ljava/time/chrono/ChronoLocalDateTime;)I", "", ApiSince=26)]
public int CompareTo (Java.Time.Chrono.IChronoLocalDateTime? other);
[<Android.Runtime.Register("compareTo", "(Ljava/time/chrono/ChronoLocalDateTime;)I", "", ApiSince=26)>]
abstract member CompareTo : Java.Time.Chrono.IChronoLocalDateTime -> int
override this.CompareTo : Java.Time.Chrono.IChronoLocalDateTime -> int
Parameters
- other
- IChronoLocalDateTime
Returns
Implements
- Attributes