Calendar - Year selector

I can’t seem to find an option to set the year selection.
In the documentation the function setYearsRange is depricated.

Is there another option to set the year selection to a smaller range.( I mean selecting the year 2300 is a bit weird…)


year selection enabled by the default. open eny demo with calendar ( for example this one ), open calendar and click into year in header.

to disable dates ( for example all dates after certain date ) - user setInsensitive/Insensitive Date or Range (you can find corresponding function in API doc … thods.html )