LocalDate.CompareTo 方法

定义

重载

CompareTo(Object)
CompareTo(IChronoLocalDate)

CompareTo(Object)

public int CompareTo (Java.Lang.Object obj);
abstract member CompareTo : Java.Lang.Object -> int
override this.CompareTo : Java.Lang.Object -> int

参数

obj
Object

返回

实现

适用于

CompareTo(IChronoLocalDate)

[Android.Runtime.Register("compareTo", "(Ljava/time/chrono/ChronoLocalDate;)I", "", ApiSince=26)]
public int CompareTo (Java.Time.Chrono.IChronoLocalDate? other);
[<Android.Runtime.Register("compareTo", "(Ljava/time/chrono/ChronoLocalDate;)I", "", ApiSince=26)>]
abstract member CompareTo : Java.Time.Chrono.IChronoLocalDate -> int
override this.CompareTo : Java.Time.Chrono.IChronoLocalDate -> int

参数

返回

实现

属性

适用于