taqwim-core-utils • Docs
taqwim-core-utils / normalizeHijriDate
Function: normalizeHijriDate()
normalizeHijriDate(
hijriDate
):HijriDateObject
Normalizes the given Hijri date to a HijriDateObject.
Parameters
• hijriDate: ValidHijriDate
The Hijri date to normalize.
Returns
HijriDateObject
The normalized Hijri date as a HijriDateObject.
Throws
Error if the hijriDate is of invalid type.