getMonthDaysShort method
Implementation
@override
Map getMonthDaysShort(int index) {
Map days = {};
CalendarDateTime now = _getSelectedDate();
int monthLength = DateTime(now.year, index + 1, 0).day;
DateTime firstDayOfMonth = DateTime(now.year, index, 1);
int dayIndex = firstDayOfMonth.weekday;
for (var i = 1; i <= monthLength; i++) {
days[i] = Translator.getShortNameOfDays()[dayIndex % 7];
dayIndex++;
}
return days;
}