View as Markdown

API reference: @salmonui/export/ics

ICalendarTimetype

import type { ICalendarTime } from '@salmonui/export/ics';
type ICalendarTime = {
    readonly epochMs: number;
} | {
    readonly date: string;
} | {
    readonly wall: string;
    readonly timeZone?: string | undefined;
};

An instant, an all-day date, or a wall time (zoned with timeZone, floating without).