hijri-core/.github/wiki/api/functions/toGregorian.md
Aric Camarata 235ffb8851 docs: add TypeDoc API generation (typedoc@0.28.19 + typedoc-plugin-markdown@4.11.0)
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.
2026-05-30 16:41:58 -04:00

722 B

hijri-core v1.0.1


hijri-core / toGregorian

Function: toGregorian()

toGregorian(hy, hm, hd, options?): Date | null

Defined in: index.ts:60

Convert a Hijri date to a Gregorian date.

Uses the UAQ calendar by default.

Parameters

hy

number

Hijri year

hm

number

Hijri month (1-12)

hd

number

Hijri day (1-30)

options?

ConversionOptions

conversion options (calendar engine selection)

Returns

Date | null

a Date in UTC, or null if the input is invalid or out of range