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