DateRangeSelectable

fun DateRangeSelectable(minDate: SimpleDate, maxDate: SimpleDate, includeMinDate: Boolean = false, includeMaxDate: Boolean = false): NepaliSelectableDates(source)

Creates a NepaliSelectableDates object that represents a selectable date range.

Remember, minDate and maxDate should make sense i.e., minDate should be less than or equal to maxDate

Return

A NepaliSelectableDates object that allows selecting dates within the specified range.

Parameters

minDate

The minimum selectable SimpleDate date.

maxDate

The maximum selectable SimpleDate date.

includeMinDate

Whether the minDate is included in the selectable range. (if minDate is of Today then whether to include today or not)

includeMaxDate

Whether the maxDate is included in the selectable range. (if maxDate is of Today then whether to include today or not)