-
Notifications
You must be signed in to change notification settings - Fork 0
isValidHijriDate
github-actions[bot] edited this page May 30, 2026
·
1 revision
date-fns-hijri / 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.
number
number
number
boolean
date-fns-hijri · MIT License · npm · Issues
Guides
Examples
Reference
API — Per Function
- toHijriDate
- fromHijriDate
- isValidHijriDate
- getHijriYear
- getHijriMonth
- getHijriDay
- getDaysInHijriMonth
- getHijriQuarter
- getHijriMonthName
- getHijriWeekdayName
- formatHijriDate
- addHijriMonths
- addHijriYears
- startOfHijriMonth
- endOfHijriMonth
- isSameHijriMonth
- isSameHijriYear
Community