共用方式為


NSCalendar.IsDateInWeekend(NSDate) 方法

定義

[Foundation.Export("isDateInWeekend:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool IsDateInWeekend (Foundation.NSDate date);
abstract member IsDateInWeekend : Foundation.NSDate -> bool
override this.IsDateInWeekend : Foundation.NSDate -> bool

參數

date
NSDate

傳回

屬性

適用於