View as Markdown

API reference: @salmonui/export/ics

vtimezonefunction

import { vtimezone } from '@salmonui/export/ics';
function vtimezone(zone: string, fromYear: number, toYear: number): string[] | null;

A VTIMEZONE for zone covering the years [fromYear, toYear]: yearly RRULE observances when the transitions follow an nth-weekday pattern every year of the span (as most zones do), otherwise one observance per transition. Null when the platform does not know the zone.