Skip to content

isValidHijriDate

github-actions[bot] edited this page May 30, 2026 · 1 revision

hijri-core v1.0.1


hijri-core / isValidHijriDate

Function: isValidHijriDate()

isValidHijriDate(hy, hm, hd, options?): boolean

Defined in: index.ts:78

Check whether a Hijri date is valid for the given calendar engine.

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

boolean

true if the date is valid

Clone this wiki locally