daysPerMonth static method

List<int> daysPerMonth(
  1. int year
)

Implementation

static List<int> daysPerMonth(int year) => <int>[
      31,
      _isLeapYear(year) ? 29 : 28,
      31,
      30,
      31,
      30,
      31,
      31,
      30,
      31,
      30,
      31,
    ];