-
Notifications
You must be signed in to change notification settings - Fork 0
HijriYearRecord
github-actions[bot] edited this page May 30, 2026
·
1 revision
hijri-core / HijriYearRecord
Defined in: types.ts:26
One row in the Umm al-Qura reference table.
The table covers Hijri years 1318-1500 (Gregorian 1900-2076). A sentinel row at hy=1501 with dpm=0 marks the upper boundary and is used to detect out-of-range inputs without a separate bounds check.
The dpm bitmask encodes month lengths for all 12 months:
bit i (0-indexed from bit 0) = month i+1; 1 = 30 days, 0 = 29 days.
dpm:
number
Defined in: types.ts:28
gd:
number
Defined in: types.ts:31
gm:
number
Defined in: types.ts:30
gy:
number
Defined in: types.ts:29
hy:
number
Defined in: types.ts:27
Reference
API
- toHijri
- toGregorian
- isValidHijriDate
- daysInHijriMonth
- registerCalendar
- getCalendar
- listCalendars
- hDatesTable
- hmLong / hmMedium / hmShort
- hwLong / hwShort / hwNumeric
Guides
Examples
Contributing
Links