lengthOfMonth property

int get lengthOfMonth

Returns the number of days in this date's month.

Implementation

int get lengthOfMonth => _daysInMonth(year, month);