When the alarm time is changed from the UI the library must be informed of the change. This is done by calling the DOFObject.changed method and specifying the AlarmTime property has changed.
The DOFObject.changed method notifies the library that a property may have changed.