---
title: HMTimeEvent
framework: homekit
role: symbol
role_heading: Class
path: homekit/hmtimeevent
---

# HMTimeEvent

An abstract superclass for time-based events.

## Declaration

```swift
class HMTimeEvent
```

## Relationships

### Inherits From

- [HMEvent](homekit/hmevent.md)

### Inherited By

- [HMCalendarEvent](homekit/hmcalendarevent.md)
- [HMDurationEvent](homekit/hmdurationevent.md)
- [HMSignificantTimeEvent](homekit/hmsignificanttimeevent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Dates and times

- [HMCalendarEvent](homekit/hmcalendarevent.md)
- [HMMutableCalendarEvent](homekit/hmmutablecalendarevent.md)
