monthLength method
Number of days in month (1 to 12) of Hijri year, 29 or 30.
Throws ArgumentError when month is outside 1 to 12 or year is
outside the supported range.
Implementation
int monthLength(int year, int month) {
_checkMonth(year, month);
return _start(year + month ~/ 12, month % 12 + 1) - _start(year, month);
}