Skip to content

isValidHijriDate

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

date-fns-hijri v1.0.1


date-fns-hijri / isValidHijriDate

Function: isValidHijriDate()

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

Defined in: src/index.ts:62

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

Verifies that the year, month (1–12), and day (1–daysInMonth) all exist in the calendar's data table.

Parameters

hy

number

hm

number

hd

number

options?

ConversionOptions

Returns

boolean

Clone this wiki locally