<!--
{
  "documentType" : "article",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/time-events",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Time events"
}
-->

# Time events

Events based on time, significant occurrences, and time durations.

## Topics

### Dates and times

[`class HMCalendarEvent`](/documentation/HomeKit/HMCalendarEvent)

An event that fires at a specified time.

[`class HMMutableCalendarEvent`](/documentation/HomeKit/HMMutableCalendarEvent)

A mutable event that fires at a specified time.

[`class HMTimeEvent`](/documentation/HomeKit/HMTimeEvent)

An abstract superclass for time-based events.

### Significant events

[`struct HMSignificantEvent`](/documentation/HomeKit/HMSignificantEvent)

An event that represents significant time-based events, including sunrise and sunset.

[`class HMSignificantTimeEvent`](/documentation/HomeKit/HMSignificantTimeEvent)

An event that fires at a time offset from a significant time-based event.

[`class HMMutableSignificantTimeEvent`](/documentation/HomeKit/HMMutableSignificantTimeEvent)

A mutable event that fires at the specified temporal offset to a significant event.

### Durations

[`class HMDurationEvent`](/documentation/HomeKit/HMDurationEvent)

An event that ends after the specified time duration.

[`class HMMutableDurationEvent`](/documentation/HomeKit/HMMutableDurationEvent)

A mutable event that fires after the specified time duration.



---

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)