getNepaliCalendar

fun getNepaliCalendar(nepaliYYYY: Int, nepaliMM: Int, nepaliDD: Int): CustomCalendar(source)

Returns the Nepali calendar representation for a specific Nepali date (year, month, day). This function retrieves the CustomCalendar object that holds detailed information about the Nepali date including the total days in the month, the day of the week, and other necessary calendar data.

Return

A CustomCalendar object containing calendar information for the specified Nepali date.

Parameters

nepaliYYYY

The Nepali year (e.g., 2078).

nepaliMM

The Nepali month (1-based index, i.e., 1 for Baisakh, 12 for Chaitra).

nepaliDD

The day of the month (1-based index).

Throws

if the year, month, or day provided is invalid.