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

要比较的其他日期时间,而不是 null

返回

如果这是在指定日期时间的即时之前,则为 true

属性

注解

内容待定。

Java参考java.time.OffsetDateTime.isBefore

适用于