다음을 통해 공유


NSCalendar.Components 메서드

정의

오버로드

Components(NSCalendarUnit, NSDate)
Components(NSCalendarUnit, NSDate, NSDate, NSCalendarOptions)
Components(NSCalendarUnit, NSDate, NSDate, NSDateComponentsWrappingBehavior)
사용되지 않음.

Components(NSCalendarUnit, NSDate)

[Foundation.Export("components:fromDate:")]
public virtual Foundation.NSDateComponents Components (Foundation.NSCalendarUnit unitFlags, Foundation.NSDate fromDate);
abstract member Components : Foundation.NSCalendarUnit * Foundation.NSDate -> Foundation.NSDateComponents
override this.Components : Foundation.NSCalendarUnit * Foundation.NSDate -> Foundation.NSDateComponents

매개 변수

unitFlags
NSCalendarUnit
fromDate
NSDate

반환

특성

적용 대상

Components(NSCalendarUnit, NSDate, NSDate, NSCalendarOptions)

[Foundation.Export("components:fromDate:toDate:options:")]
public virtual Foundation.NSDateComponents Components (Foundation.NSCalendarUnit unitFlags, Foundation.NSDate fromDate, Foundation.NSDate toDate, Foundation.NSCalendarOptions opts);
abstract member Components : Foundation.NSCalendarUnit * Foundation.NSDate * Foundation.NSDate * Foundation.NSCalendarOptions -> Foundation.NSDateComponents
override this.Components : Foundation.NSCalendarUnit * Foundation.NSDate * Foundation.NSDate * Foundation.NSCalendarOptions -> Foundation.NSDateComponents

매개 변수

unitFlags
NSCalendarUnit
fromDate
NSDate
toDate
NSDate

반환

특성

적용 대상

Components(NSCalendarUnit, NSDate, NSDate, NSDateComponentsWrappingBehavior)

주의

Use the overload with a 'NSCalendarOptions' parameter.

[System.Obsolete("Use the overload with a 'NSCalendarOptions' parameter.", false)]
public Foundation.NSDateComponents Components (Foundation.NSCalendarUnit unitFlags, Foundation.NSDate fromDate, Foundation.NSDate toDate, Foundation.NSDateComponentsWrappingBehavior opts);
member this.Components : Foundation.NSCalendarUnit * Foundation.NSDate * Foundation.NSDate * Foundation.NSDateComponentsWrappingBehavior -> Foundation.NSDateComponents

매개 변수

unitFlags
NSCalendarUnit
fromDate
NSDate
toDate
NSDate

반환

특성

적용 대상