CustomCalendar
Represents a date in a custom calendar system with detailed information.
This data class holds information about a specific date, including its year, month, day, era (AD or BS), and various other properties related to the day and week within the month and year.
Constructors
Properties
The day of the month (1-32).
The number of times the day of the week occurs in the month (e.g., 5 for the fifth Friday of the month). Defaults to -1 if not applicable.
The day of the week (1-7) for the first day of the month.
The day of the week (1-7) for the last day of the month.
The total number of days in the month.
The week of the month (1-5). Defaults to -1 if not applicable.
The week of the year (1-54). Defaults to -1 if not applicable.
Functions
Converts a CustomCalendar object to a NepaliMonthCalendar object.
Converts a CustomCalendar object to a SimpleDate object.