Make your custom DatePicker, there is a need to make range of dates that I could choose several to give on one calendar. How would you implement this? I've got this idea:
Create a range array that stores two values: the startDate and endDate and an integer property step.
When I selected the first date - step incrementorum per unit, initializes the startDate, the second you click step again incremented by one, and initializes the value of the endDate. This is the normal approach or something else?
How to store intermediate date between startDate and endDate?(to customize)