taqwim-core-utils • Docs
taqwim-core-utils / getDaysLengthInMonth
Function: getDaysLengthInMonth()
getDaysLengthInMonth(hyOrHijriDate)
getDaysLengthInMonth(
hyOrHijriDate
):number
Returns the length of a month in the Hijri calendar. Overload to support HijriDateObject as a single parameter.
Parameters
• hyOrHijriDate: HijriDateObject
Returns
number
The length of the month in days. Returns -1 if the month is invalid.
Source
getDaysLengthInMonth(hyOrHijriDate, hm)
getDaysLengthInMonth(
hyOrHijriDate
,hm
?):number
Parameters
• hyOrHijriDate: number
| HijriDateObject
• hm?: number
Returns
number