monthDays top-level property
月份 → 天数(平年)只读查找表。
返回的是 const Map,运行时不可变(写入抛 UnsupportedError)。
闰年二月请另行判定(见 DateTimeUtils.isLeapYearByYear)。
Implementation
Map<int, int> get monthDays => _monthDay;
月份 → 天数(平年)只读查找表。
返回的是 const Map,运行时不可变(写入抛 UnsupportedError)。
闰年二月请另行判定(见 DateTimeUtils.isLeapYearByYear)。
Map<int, int> get monthDays => _monthDay;