NSCalendar.Range 方法

定义

重载

Range(NSCalendarUnit, NSDate, Double, NSDate)
Range(NSCalendarUnit, NSCalendarUnit, NSDate)

Range(NSCalendarUnit, NSDate, Double, NSDate)

[Foundation.Export("rangeOfUnit:startDate:interval:forDate:")]
public virtual bool Range (Foundation.NSCalendarUnit unit, out Foundation.NSDate datep, out double interval, Foundation.NSDate date);
abstract member Range : Foundation.NSCalendarUnit *  *  * Foundation.NSDate -> bool
override this.Range : Foundation.NSCalendarUnit *  *  * Foundation.NSDate -> bool

参数

datep
NSDate

内容待定。

此参数可以为 null

interval
Double
date
NSDate

返回

属性

适用于

Range(NSCalendarUnit, NSCalendarUnit, NSDate)

[Foundation.Export("rangeOfUnit:inUnit:forDate:")]
public virtual Foundation.NSRange Range (Foundation.NSCalendarUnit smaller, Foundation.NSCalendarUnit larger, Foundation.NSDate date);
abstract member Range : Foundation.NSCalendarUnit * Foundation.NSCalendarUnit * Foundation.NSDate -> Foundation.NSRange
override this.Range : Foundation.NSCalendarUnit * Foundation.NSCalendarUnit * Foundation.NSDate -> Foundation.NSRange

参数

smaller
NSCalendarUnit
date
NSDate

返回

属性

适用于