<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DataDetection",
  "identifier" : "/documentation/DataDetection/DDMatchCalendarEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "DataDetection"
    ],
    "preciseIdentifier" : "c:objc(cs)DDMatchCalendarEvent"
  },
  "title" : "DDMatchCalendarEvent"
}
-->

# DDMatchCalendarEvent

An object that represents a calendar date or date range that the data detection system matches.

```
class DDMatchCalendarEvent
```

## Overview

The DataDetection framework returns a calendar event match in a `DDMatchCalendarEvent` object, which has only a beginning date, only an end date, or both a beginning date and an end date.

## Topics

### Getting event details

[`allDay`](/documentation/DataDetection/DDMatchCalendarEvent/isAllDay)

A Boolean value that indicates whether the event is an all-day event.

[`endDate`](/documentation/DataDetection/DDMatchCalendarEvent/endDate)

A date that represents the end of the event.

[`endTimeZone`](/documentation/DataDetection/DDMatchCalendarEvent/endTimeZone)

The time zone for the event’s end date.

[`startDate`](/documentation/DataDetection/DDMatchCalendarEvent/startDate)

A date that represents the start of the event.

[`startTimeZone`](/documentation/DataDetection/DDMatchCalendarEvent/startTimeZone)

The time zone for the event’s start date.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`DDMatch`](/documentation/DataDetection/DDMatch)

---

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)