Contents

offset

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

Declaration

var offset: DateComponents { get set }

Discussion

To specify that this event should fire before the significant event, supply a date components object with negative values. For example, to specify 30 minutes before sunset, the minute property of the value of the offset property must be set to -30.

See Also

Configuring a significant time event