Year.IsBefore(Year) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查今年是否在指定年份之前。
[Android.Runtime.Register("isBefore", "(Ljava/time/Year;)Z", "", ApiSince=26)]
public bool IsBefore(Java.Time.Year? other);
[<Android.Runtime.Register("isBefore", "(Ljava/time/Year;)Z", "", ApiSince=26)>]
member this.IsBefore : Java.Time.Year -> bool
参数
- other
- Year
要比较的另一年,而不是 null
返回
如果此点位于指定年份之前,则为 true
- 特性
注解
检查今年是否在指定年份之前。
Java参考java.time.Year.isBefore。