pakdatakit/hijri
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| HijriDate | Islamic (Hijri) date components. |
| HijriOptions | Options for Hijri conversions. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| toHijri | Converts a Gregorian Date to a Hijri (Islamic) date. |
| fromHijri | Converts a Hijri date to a Gregorian Date (local midnight). |
| formatHijri | Formats a Gregorian date as a Hijri date string. |
| getHijriMonthName | Returns the English name of a Hijri month (1–12). |
| isRamadan | Returns whether a Gregorian date falls in the month of Ramadan. |