var div = document.createElement("div")
extend(div.dataset, { dateId: calendarEvent.Date
, calendarId: calendarEvent.CalendarId
, eventDateId: calendarEvent.Id
})
extend(div, { className: [ "event"
, "cal" + calendarEvent.CalendarId
, calendarEvent.CalendarClassName
].join(" ")
, id: calendarEvent.EventId
, textContent: calendarEvent.DisplayName