語言

LocalTime.IsBefore(LocalTime) 方法

定義

檢查這段時間是否早於指定時間。

[Android.Runtime.Register("isBefore", "(Ljava/time/LocalTime;)Z", "", ApiSince=26)]
public bool IsBefore(Java.Time.LocalTime? other);
[<Android.Runtime.Register("isBefore", "(Ljava/time/LocalTime;)Z", "", ApiSince=26)>]
member this.IsBefore : Java.Time.LocalTime -> bool

參數

other
LocalTime

另一個時間是比較,不是零

傳回

如果此點在指定時間之前,則為真

屬性

備註

檢查這段時間是否早於指定時間。 比較是基於該時間在一天內的時間軸位置。

Java 參考 java.time.LocalTime.isBefore

適用於