getLastDayOfMonth static method

int getLastDayOfMonth(
  1. HeaderOptions headersStyle
)

Implementation

static int getLastDayOfMonth(HeaderOptions headersStyle) {
  final currentMonth = CalendarUtils.getPartByInt(format: PartFormat.MONTH);
  return CalendarUtils.getDays(headersStyle.weekDayStringType, currentMonth).keys.last;
}