Düzenle

Aracılığıyla paylaş


HKActivitySummary.DateComponentsForCalendar(NSCalendar) Method

Definition

Calculates and returns the date components to use for displaying the day that the HKActivitySummary summarizes.

[Foundation.Export("dateComponentsForCalendar:")]
public virtual Foundation.NSDateComponents DateComponentsForCalendar (Foundation.NSCalendar calendar);
abstract member DateComponentsForCalendar : Foundation.NSCalendar -> Foundation.NSDateComponents
override this.DateComponentsForCalendar : Foundation.NSCalendar -> Foundation.NSDateComponents

Parameters

calendar
NSCalendar

The calendar to use to calculate the components.

Returns

The date components to use for displaying the day that the HKActivitySummary summarizes.

Attributes

Applies to