語言

YearMonth.IsBefore(YearMonth) 方法

定義

檢查該年月是否早於指定年月。

[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

適用於