言語

OffsetDateTime.IsBefore(OffsetDateTime) メソッド

定義

この日時のインスタントが、指定した日時の前にあるかどうかを確認します。

[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

比較するもう 1 つの日時 (null ではない)

返品

指定した日時の瞬間より前の場合は true

属性

注釈

追加する。

Javaリファレンス。

適用対象