共用方式為


NSDate.Compare(NSDate) 方法

定義

比較兩個日期以判斷第一個日期。

[Foundation.Export("compare:")]
public virtual Foundation.NSComparisonResult Compare (Foundation.NSDate other);
abstract member Compare : Foundation.NSDate -> Foundation.NSComparisonResult
override this.Compare : Foundation.NSDate -> Foundation.NSComparisonResult

參數

other
NSDate

要比較的日期。

傳回

屬性

適用於