---
title: INDateComponentsRange
framework: intents
role: symbol
role_heading: Class
path: intents/indatecomponentsrange
---

# INDateComponentsRange

A span of time.

## Declaration

```swift
class INDateComponentsRange
```

## Overview

Overview Use an INDateComponentsRange object to specify date- or time-related information when responding to an intent. For example, a ride service might use this object to specify possible pickup times for the user. You create date components range objects when providing a response that includes a time span. Use this object to specify a range of times to include in the corresponding response. When displaying the date range information to the user, Siri or Maps formats the information appropriately.

## Topics

### Initializing a Date Components Range

- [init(start:end:)](intents/indatecomponentsrange/init(start:end:).md)
- [init(start:end:recurrenceRule:)](intents/indatecomponentsrange/init(start:end:recurrencerule:).md)
- [init(ekRecurrenceRule:)](intents/indatecomponentsrange/init(ekrecurrencerule:)-5p7kt.md)

### Getting the Date Information

- [startDateComponents](intents/indatecomponentsrange/startdatecomponents.md)
- [endDateComponents](intents/indatecomponentsrange/enddatecomponents.md)

### Getting Recurring Date Information

- [recurrenceRule](intents/indatecomponentsrange/recurrencerule.md)
- [ekRecurrenceRule()](intents/indatecomponentsrange/ekrecurrencerule().md)

### Initializers

- [init(EKRecurrenceRule:)](intents/indatecomponentsrange/init(ekrecurrencerule:)-n8xm.md)
- [init(coder:)](intents/indatecomponentsrange/init(coder:).md)
- [init(startDateComponents:endDateComponents:)](intents/indatecomponentsrange/init(startdatecomponents:enddatecomponents:).md)
- [init(startDateComponents:endDateComponents:recurrenceRule:)](intents/indatecomponentsrange/init(startdatecomponents:enddatecomponents:recurrencerule:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Date

- [INRecurrenceRule](intents/inrecurrencerule.md)
