monthDays property

int get monthDays

本月天数

Implementation

int get monthDays => DateTime(year, month + 1, 1).difference(DateTime(year, month, 1)).inDays;