---
title: calendarEvent
framework: datadetection
role: symbol
role_heading: Type Property
path: datadetection/datadetector/matchtype/calendarevent
---

# calendarEvent

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

## Declaration

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

## Discussion

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.

## See Also

### Known entity types

- [all](datadetection/datadetector/matchtype/all.md)
- [link](datadetection/datadetector/matchtype/link.md)
- [emailAddress](datadetection/datadetector/matchtype/emailaddress.md)
- [phoneNumber](datadetection/datadetector/matchtype/phonenumber.md)
- [postalAddress](datadetection/datadetector/matchtype/postaladdress.md)
- [moneyAmount](datadetection/datadetector/matchtype/moneyamount.md)
- [measurement](datadetection/datadetector/matchtype/measurement.md)
- [flightNumber](datadetection/datadetector/matchtype/flightnumber.md)
- [shipmentTrackingNumber](datadetection/datadetector/matchtype/shipmenttrackingnumber.md)
- [paymentIdentifier](datadetection/datadetector/matchtype/paymentidentifier.md)
