# ICalendarEvent (@salmonui/export/ics)

> The ICalendarEvent interface of @salmonui/export/ics: One VEVENT.

Canonical: https://salmonui.dev/docs/reference/export/ics/ICalendarEvent

```ts
import type { ICalendarEvent } from '@salmonui/export/ics';
```

Entry index: https://salmonui.dev/docs/reference/export/ics (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/export/ics.md).

## Reference

Kind: interface

```ts
interface ICalendarEvent {
    readonly uid: string;
    readonly summary?: string | undefined;
    readonly location?: string | undefined;
    readonly description?: string | undefined;
    readonly start: ICalendarTime;
    readonly end?: ICalendarTime | undefined;
    readonly rrule?: string | undefined;
    readonly exdates?: readonly ICalendarTime[] | undefined;
    readonly recurrenceId?: ICalendarTime | undefined;
    readonly dtstamp?: number | undefined;
    readonly extra?: Readonly<Record<string, string>> | undefined;
}
```

One VEVENT.

Members (11):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `uid` | `readonly uid: string;` |  | UID; a series and its edited occurrences share it. The parser returns `''` when the VEVENT has none. |
| `summary` | `readonly summary?: string \| undefined;` | optional |  |
| `location` | `readonly location?: string \| undefined;` | optional |  |
| `description` | `readonly description?: string \| undefined;` | optional |  |
| `start` | `readonly start: ICalendarTime;` |  |  |
| `end` | `readonly end?: ICalendarTime \| undefined;` | optional | Exclusive end; omitted means zero duration (date-time) or one day (date). |
| `rrule` | `readonly rrule?: string \| undefined;` | optional | RRULE value without the `RRULE:` prefix (`FREQ=WEEKLY;BYDAY=MO`). |
| `exdates` | `readonly exdates?: readonly ICalendarTime[] \| undefined;` | optional | EXDATE values (excluded occurrence starts). |
| `recurrenceId` | `readonly recurrenceId?: ICalendarTime \| undefined;` | optional | RECURRENCE-ID: the original start of the occurrence this VEVENT replaces. |
| `dtstamp` | `readonly dtstamp?: number \| undefined;` | optional | DTSTAMP (epoch ms); defaults to the writer's `dtstamp`. |
| `extra` | `readonly extra?: Readonly<Record<string, string>> \| undefined;` | optional | Further properties by name (`X-SALMON-ROOM`), written and read as TEXT. |
