<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INDateComponentsRange/init(start:end:recurrenceRule:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INDateComponentsRange(im)initWithStartDateComponents:endDateComponents:recurrenceRule:"
  },
  "title" : "init(start:end:recurrenceRule:)"
}
-->

# init(start:end:recurrenceRule:)

Initializes the date range to a repeating time period.

```
init(start startDateComponents: DateComponents?, end endDateComponents: DateComponents?, recurrenceRule: INRecurrenceRule?)
```

## Parameters

`startDateComponents`

The starting date for the time range. This value is assigned to the [`startDateComponents`](/documentation/Intents/INDateComponentsRange/startDateComponents) property. Specify `nil` if you want the time range to start in the distant past.

`endDateComponents`

The starting date for the time range. This value is assigned to the [`endDateComponents`](/documentation/Intents/INDateComponentsRange/endDateComponents) property. Specify `nil` if you want the time range to end in the distant future.

`recurrenceRule`

The recurrence rule to use when repeating the date range.

## Return Value

An initialized [`INDateComponentsRange`](/documentation/Intents/INDateComponentsRange) object.

## Discussion

Use this method to initialize a date range that repeats over time. For example, you could create a range that represents the time range of “every wednesday”. Use the start and end dates to specify the date and time values that you want to repeat and use the `recurrenceRule` property to establish the conditions for repeating the value.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)