def METHOD_NAME(self, calendar, creation_time=None, netloc=None):
    if not self.start or not self.local_end or not self.room or not self.submission:
        return
    creation_time = creation_time or dt.datetime.now(ZoneInfo("UTC"))
    netloc = netloc or urlparse(get_base_url(self.event)).netloc
    vevent = calendar.add("vevent")
    vevent.add(
        "summary"
    ).value = f"{self.submission.title} - {self.submission.display_speaker_names}"
    vevent.add("dtstamp").value = creation_time
    vevent.add("location").value = str(self.room.name)
    vevent.add("uid").value = "pretalx-{}-{}{}@{}".format(
        self.submission.event.slug, self.submission.code, self.id_suffix, netloc
    )
    vevent.add("dtstart").value = self.local_start
    vevent.add("dtend").value = self.local_end
    vevent.add("description").value = self.submission.abstract or ""
    vevent.add("url").value = self.submission.urls.public.full()