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
返回
如果这是在指定日期时间的即时之前,则为 true
- 属性
注解
内容待定。
Java参考java.time.OffsetDateTime.isBefore。