<!--
{
  "availability" : [
    "iOS: 10.3.0 - 15.0.0",
    "iPadOS: 10.3.0 - 15.0.0",
    "macCatalyst: 13.1.0 - 15.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.2.0 - 8.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Intents",
  "identifier" : "/documentation/Intents/INSearchForBillsIntentHandling/resolveDueDateRange(for:with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INSearchForBillsIntentHandling(im)resolveDueDateRangeForSearchForBills:withCompletion:"
  },
  "title" : "resolveDueDateRange(for:with:)"
}
-->

# resolveDueDateRange(for:with:)

Resolves the due date to use during your search.

```
optional func resolveDueDateRange(for intent: INSearchForBillsIntent, with completion: @escaping @Sendable (INDateComponentsRangeResolutionResult) -> Void)
```

```
optional func resolveDueDateRange(for intent: INSearchForBillsIntent) async -> INDateComponentsRangeResolutionResult
```

## Parameters

`intent`

The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.

`completion`

The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

- resolutionResult: The object containing the details of your proposed resolution. For successful resolutions, create a resolution object containing the [`INDateComponentsRange`](/documentation/Intents/INDateComponentsRange) object that you intend to use during the search.

## Discussion

Implement this method to resolve any questions about the due date for a bill. Use the [`dueDateRange`](/documentation/Intents/INSearchForBillsIntent/dueDateRange) property of the intent object to identify the date range to search. If a date range is available and usable, return a successful resolution with that date range. You can also make adjustments to the date range as needed and ask the user for confirmation.

If the user didn’t specify a date range, return a resolution of not required from this method. When the user didn’t specify a date range, you must decide how you want to filter results when performing the subsequent search. For example, you might want to return only the currently due bills. Alternatively, you could return all bills from the past month or from the past year.

---

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)