hijri-core/.github/wiki/api/interfaces/HijriYearRecord.md

1.4 KiB

hijri-core v1.0.1


hijri-core / HijriYearRecord

Interface: 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.

Properties

dpm

dpm: number

Defined in: types.ts:28


gd

gd: number

Defined in: types.ts:31


gm

gm: number

Defined in: types.ts:30


gy

gy: number

Defined in: types.ts:29


hy

hy: number

Defined in: types.ts:27