Editar

Compartilhar via


NSCalendar.ComponentsFromDateToDate Method

Definition

[Foundation.Export("components:fromDateComponents:toDateComponents:options:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSDateComponents ComponentsFromDateToDate (Foundation.NSCalendarUnit unitFlags, Foundation.NSDateComponents startingDate, Foundation.NSDateComponents resultDate, Foundation.NSCalendarOptions options);
abstract member ComponentsFromDateToDate : Foundation.NSCalendarUnit * Foundation.NSDateComponents * Foundation.NSDateComponents * Foundation.NSCalendarOptions -> Foundation.NSDateComponents
override this.ComponentsFromDateToDate : Foundation.NSCalendarUnit * Foundation.NSDateComponents * Foundation.NSDateComponents * Foundation.NSCalendarOptions -> Foundation.NSDateComponents

Parameters

unitFlags
NSCalendarUnit
startingDate
NSDateComponents
resultDate
NSDateComponents

Returns

Attributes

Applies to