-
Notifications
You must be signed in to change notification settings - Fork 0
registerCalendar
github-actions[bot] edited this page May 30, 2026
·
1 revision
hijri-core / 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.
string
unique identifier for the calendar (e.g. 'uaq', 'fcna')
an object implementing the CalendarEngine interface
void
Reference
API
- toHijri
- toGregorian
- isValidHijriDate
- daysInHijriMonth
- registerCalendar
- getCalendar
- listCalendars
- hDatesTable
- hmLong / hmMedium / hmShort
- hwLong / hwShort / hwNumeric
Guides
Examples
Contributing
Links