Skip to content

taqwim-core-utilsDocs


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.

Source

normalizeHijriDate.ts:10

Released under the MIT License.