Skip to content

taqwim-core-utilsDocs


taqwim-core-utils / getMonthAdjacentDays

Function: getMonthAdjacentDays()

getMonthAdjacentDays(hijriDate): object

Get the days of the previous and next months of the given Hijri date.

Parameters

hijriDate: HijriDateObject

The Hijri date to get the adjacent days of.

Returns

object

An object containing the days of the previous and next months.

nextMonthDays

nextMonthDays: MonthDay[]

prevMonthDays

prevMonthDays: MonthDay[]

Source

getMonthAdjacentDays.ts:9

Released under the MIT License.