mirror of
https://github.com/acamarata/hijri-core.git
synced 2026-06-30 18:54:27 +00:00
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to package.json. Generate initial API reference pages. Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
779 B
779 B
hijri-core / registerCalendar
Function: registerCalendar()
registerCalendar(
name,engine):void
Defined in: registry.ts:14
Register a calendar engine under the given name.
Once registered, the engine can be selected via { calendar: name } in any
conversion function or retrieved directly with getCalendar.
Parameters
name
string
unique identifier for the calendar (e.g. 'uaq', 'fcna')
engine
an object implementing the CalendarEngine interface
Returns
void