# vtimezone (@salmonui/export/ics)

> The vtimezone function of @salmonui/export/ics: 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.

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

```ts
import { vtimezone } 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: function

```ts
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.
