NepaliDateRangePickerViewController
fun NepaliDateRangePickerViewController(initialSelectedStartDate: SimpleDate?, initialSelectedEndDate: SimpleDate?, locale: NepaliDateLocale, yearRangeStart: Int, yearRangeEnd: Int, selectableDates: NepaliSelectableDates?, options: NepaliRangeCalendarOptions?, events: NepaliEventOptions?, onHeightChange: (Float) -> Unit, onRangeSelected: (CustomCalendar?, CustomCalendar?) -> Unit): UIViewController(source)
Hosts NepaliDateRangePicker, the two-ended calendar used to pick a start and an end date.
Parameters
initialSelectedStartDate
start of the pre-selected range, or null for no selection.
initialSelectedEndDate
end of the pre-selected range, or null for no selection.
locale
language, date format and digit script the picker renders with.
yearRangeStart
first Bikram Sambat year the picker allows.
yearRangeEnd
last Bikram Sambat year the picker allows.
selectableDates
policy deciding which dates are enabled, or null to allow every date.
options
appearance and behaviour knobs, or null for the library defaults.
onHeightChange
receives the content height in points, so the caller can size its frame.
onRangeSelected
invoked with both ends whenever either changes. Either end may be null while the range is still being built.