<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DataDetection",
  "identifier" : "/documentation/DataDetection/DataDetector/MatchType/calendarEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "DataDetection"
    ],
    "preciseIdentifier" : "s:13DataDetection0A8DetectorO9MatchTypeV13calendarEventAEvpZ"
  },
  "title" : "calendarEvent"
}
-->

# calendarEvent

The type that represents calendar events, such as dates and times, or date and time ranges.

```
static let calendarEvent: DataDetector.MatchType
```

## Discussion

> Note: The framework doesn’t match dates if they conform to the structure of a recurring event, which is a date range that also includes a time range. For example, an event that takes place Monday to Friday from 11 a.m. to 1:30 p.m.

---

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)