added support for setting alarms after durations of time