Type Method

dayUnit

Returns a HealthKit unit for measuring time in days.

Declaration

+ (instancetype)dayUnit;

Return Value

A HealthKit unit for measuring time in days.

See Also

Constructing Time Units

+ secondUnit

Returns a HealthKit unit for measuring time in seconds.

+ secondUnitWithMetricPrefix:

Returns a HealthKit unit for measuring time, using second units with the provided prefix.

+ minuteUnit

Returns a HealthKit unit for measuring time in minutes.

+ hourUnit

Returns a HealthKit unit for measuring time in hours.