Share via


LocalDateTime.CompareTo Method

Definition

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

Returns

Implements

Attributes

Applies to