Skip to content

getCalendar

github-actions[bot] edited this page May 30, 2026 · 1 revision

hijri-core v1.0.1


hijri-core / getCalendar

Function: getCalendar()

getCalendar(name): CalendarEngine

Defined in: registry.ts:25

Retrieve a registered calendar engine by name.

Parameters

name

string

the calendar identifier passed to registerCalendar

Returns

CalendarEngine

the matching engine

Throws

if no engine is registered under that name

Clone this wiki locally