OffsetDateTime.IsBefore(OffsetDateTime) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查該日期-時間點是否早於指定日期時間。
[Android.Runtime.Register("isBefore", "(Ljava/time/OffsetDateTime;)Z", "", ApiSince=26)]
public bool IsBefore(Java.Time.OffsetDateTime? other);
[<Android.Runtime.Register("isBefore", "(Ljava/time/OffsetDateTime;)Z", "", ApiSince=26)>]
member this.IsBefore : Java.Time.OffsetDateTime -> bool
參數
- other
- OffsetDateTime
另一個日期時間比較,不是 null
傳回
若此值發生在指定日期時間之前,則為真
- 屬性
備註
要加入。
Java 參考 java.time.OffsetDateTime.isBefore。