語言

OffsetTime.IsBefore(OffsetTime) 方法

定義

檢查此偏移時間的瞬間是否早於指定時間,將兩者套用到同一日期。

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

參數

other
OffsetTime

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

傳回

若此值發生在指定時間的瞬間之前,則為真。

屬性

備註

要加入。

Java 參考 java.time.OffsetTime.isBefore

適用於