hijri-core/.github/wiki/api/variables/hwLong.md

529 B

hijri-core v1.0.1


hijri-core / hwLong

Variable: hwLong

const hwLong: string[]

Defined in: names/weekdays.ts:13

Full Arabic-transliterated names for the seven days of the week.

Index alignment matches Date.prototype.getDay(): index 0 = Sunday, index 6 = Saturday.

Example

const dayName = hwLong[gregorianDate.getDay()]; // "Yawm al-Jum`a"