getDaysInMonth method

  1. @override
int getDaysInMonth(
  1. int year,
  2. int month
)
override

Returns the number of days in a month, according to the calendar system.

Implementation

@override
int getDaysInMonth(int year, int month) =>
    PersianDateTime(year, month).monthLength;