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.
720 B
720 B
date-fns-hijri / toHijriDate
Function: toHijriDate()
toHijriDate(
date,options?):HijriDate|null
Defined in: src/index.ts:28
Convert a Gregorian Date to a Hijri date object.
Returns null when the date falls outside the calendar's supported range
(UAQ: 1318–1500 AH / 1900–2076 CE; FCNA extends slightly further).
Parameters
date
Date
options?
Returns
HijriDate | null