INDateComponentsRange

INDateComponentsRange

INDateComponentsRange Class of Intents A span of time.

class INDateComponentsRange

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.