---
title: intervalComponents
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkstatisticscollectionquerydescriptor/intervalcomponents
---

# intervalComponents

The date components that define the time interval for each statistics object in the collection.

## Declaration

```swift
var intervalComponents: DateComponents
```

## See Also

### Accessing Query Properties

- [predicate](healthkit/hkstatisticscollectionquerydescriptor/predicate.md)
- [options](healthkit/hkstatisticscollectionquerydescriptor/options.md)
- [anchorDate](healthkit/hkstatisticscollectionquerydescriptor/anchordate.md)
