     var location: String?
     var startDate: Date = Date()
     var endDate: Date = Date()
+
+    private(set) var addedRelativeAlarmTime: TimeInterval?
+    func addAlarm(relativeOffsetFromStartDate relativeOffset: TimeInterval) {
+        addedRelativeAlarmTime = relativeOffset
+    }
     
 }
 

protocol CalendarEvent {
    
    var isAssociatedToCalendar: Bool { get }
    var title: String { get set }
    var notes: String { get set }
    var location: String? { get set }
    var startDate: Date { get set }
    var endDate: Date { get set }
    
}


        calendarEvent.startDate = event.StartDateTimeUtc
        calendarEvent.endDate = event.EndDateTimeUtc

        let thirtyMinutesPrior: TimeInterval = -1800
        calendarEvent.addAlarm(relativeOffsetFromStartDate: thirtyMinutesPrior)

        calendar.save(event: calendarEvent)
    }

