Function: getDaysLengthInMonth()
@taqwim/core / getDaysLengthInMonth
Call Signature
Section titled “Call Signature”getDaysLengthInMonth(
hyOrHijriDate):number
Defined in: packages/core/src/lib/getDaysLengthInMonth.ts:10
Returns the length of a month in the Hijri calendar. Overload to support HijriDateObject as a single parameter.
Parameters
Section titled “Parameters”hyOrHijriDate
Section titled “hyOrHijriDate”HijriDateObject
Returns
Section titled “Returns”number
The length of the month in days. Returns -1 if the month is invalid.
Call Signature
Section titled “Call Signature”getDaysLengthInMonth(
hyOrHijriDate,hm?):number
Defined in: packages/core/src/lib/getDaysLengthInMonth.ts:11
Returns the length of a month in the Hijri calendar. Overload to support HijriDateObject as a single parameter.
Parameters
Section titled “Parameters”hyOrHijriDate
Section titled “hyOrHijriDate”number | HijriDateObject
number
Returns
Section titled “Returns”number
The length of the month in days. Returns -1 if the month is invalid.