fromHijri
function fromHijri(hijri, options?): Date;Defined in: hijri.ts:63
Converts a Hijri date to a Gregorian Date (local midnight).
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
hijri |
HijriDate |
Hijri date components |
options? |
HijriOptions |
Optional day offset, matching the one used with toHijri |
Returns
Section titled “Returns”Date
Gregorian date
Throws
Section titled “Throws”If the Hijri components are out of range