NepaliMonthCalendar
data class NepaliMonthCalendar(val year: Int, val month: Int, val totalDaysInMonth: Int, val firstDayOfMonth: Int, val lastDayOfMonth: Int, val daysFromStartOfWeekToFirstOfMonth: Int = firstDayOfMonth - 1)(source)
Represents a calendar month in the Nepali calendar system.
This data class provides information about a specific month in a Nepali calendar year, including the total number of days, the day of the week for the first and last days of the month, and the number of days from the start of the week to the first day of the month.
Constructors
Properties
Link copied to clipboard
The number of days from the start of the week (Sunday) to the first day of the month.
Link copied to clipboard
The day of the week (1-7, where 1 is Sunday) for the first day of the month.
Link copied to clipboard
The day of the week (1-7, where 1 is Sunday) for the last day of the month.
Link copied to clipboard
The total number of days in the month (1-32).
Functions
Link copied to clipboard
Returns the position of a CustomCalendar within given years range.