共用方式為


LocalDateTime.CompareTo 方法

定義

多載

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

參數

obj
Object

傳回

實作

適用於

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

參數

傳回

實作

屬性

適用於