Use this page when you need the full method reference for @timestamp-js/calendar-persian. The Persian adapter models the deterministic civil Persian/Jalali calendar and uses Farvardin as month 1.
The displayed JSON is generated from packages/calendar-persian/src/index.ts with Q-Press.
Adapter Export
Import persianCalendar when you need the full CalendarSystem implementation. The jalaliCalendar export is an alias for the same adapter.
import { const jalaliCalendar: CalendarSystemAlias for the default Persian/Jalali adapter exported by this package.jalaliCalendar, const persianCalendar: CalendarSystemDeterministic Persian/Jalali calendar adapter.
Model dates use civil Persian month numbering, where Farvardin is month `1`.
The adapter follows the arithmetic Jalali leap-year break table used by
common Persian calendar implementations.persianCalendar } from '@timestamp-js/calendar-persian'