Skip to content

nepali-calendar-engine


nepali-calendar-engine / getMonthCalendar

Function: getMonthCalendar()

getMonthCalendar(bsYear, bsMonth, options?): Promise<CalendarMonth>

Defined in: calendar/month-grid.ts:56

Generates a complete calendar month data structure for a given BS year and month. Suitable for direct consumption by any calendar UI component.

Note: This is an async function that automatically loads panchang data for the year.

Parameters

bsYear

number

bsMonth

number

options?

CalendarOptions

Returns

Promise<CalendarMonth>