mirror of
https://github.com/acamarata/date-fns-hijri.git
synced 2026-06-30 18:54:25 +00:00
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to package.json. Generate initial API reference pages. Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
643 B
643 B
date-fns-hijri / getHijriQuarter
Function: getHijriQuarter()
getHijriQuarter(
date,options?):number|null
Defined in: src/index.ts:376
Get the Hijri quarter (1–4) for a Gregorian date.
Months 1–3 = Q1, 4–6 = Q2, 7–9 = Q3, 10–12 = Q4.
Returns null when the date is outside the supported range.
Parameters
date
Date
options?
Returns
number | null