MonthCalendar
data class MonthCalendar(val calendarSystem: CalendarSystem, val year: Int, val month: Int, val totalDaysInMonth: Int, val firstDayOfMonth: Int, val lastDayOfMonth: Int)(source)
The geometry of one month in a given CalendarSystem: enough to lay out a weekday grid without knowing which calendar it came from.
NepaliMonthCalendar is the Bikram Sambat-only equivalent that predates this type and stays the published shape of NepaliDatePickerState.displayedMonth. Use MonthCalendar when the calendar is a runtime choice, and toNepaliMonthCalendar / toMonthCalendar to move between them.
Properties
Link copied to clipboard
Link copied to clipboard
Leading blank cells before day 1 when the grid starts on Sunday.
Link copied to clipboard
the day of the week (1-7, 1 = Sunday) the month starts on.
Link copied to clipboard
the day of the week (1-7, 1 = Sunday) the month ends on.
Link copied to clipboard
the number of days in the month (28-32, depending on the calendar).
Link copied to clipboard
the year in calendarSystem.