<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMSignificantTimeEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMSignificantTimeEvent"
  },
  "title" : "HMSignificantTimeEvent"
}
-->

# HMSignificantTimeEvent

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

```
class HMSignificantTimeEvent
```

## Overview

Use this class to represent an event that fires at a time relative to a significant event, for example “30 minutes before sunset”.

## Topics

### Creating a significant time event

[`init(significantEvent:offset:)`](/documentation/HomeKit/HMSignificantTimeEvent/init(significantEvent:offset:))

Creates a new significant time event with the specified significant event and offset.

### Inspecting a significant time event

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

The significant time-based event that is used to calculate when the event fires.

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

The offset from the significant event that the event fires at.



---

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)