getFirstDayOfMonth static method
Implementation
static int getFirstDayOfMonth(List<String> dayNames, HeaderOptions headersStyle) {
final currentMonth = CalendarUtils.getPartByInt(format: PartFormat.MONTH);
final monthDays = CalendarUtils.getMonthDays(headersStyle.weekDayStringType, currentMonth);
return dayNames.indexOf(monthDays[1]);
}