I discovered that the dates are all off by one month whenever I select a particular date on the CalendarView. For example, whenever I select a particular date using the following:
CalendarDay date = widget.getSelectedDate();
The date selected was 2016-10-30, but the date that was printed out was CalendarDay{2016-9-30}.
Also, when I added a decorator for a particular date, it appeared in the following month instead.
That is because the index of Months in array started from 0.
To trace the code, you could look at [CalendarDay toString()]
Also, check [Calendar.JANUARY] for more details :D
Most helpful comment
That is because the index of Months in array started from 0.