lastDayInYear property

DateTime lastDayInYear

当年最后的时间

Implementation

DateTime get lastDayInYear =>
    DateTime(year + 1).subtract(Duration(microseconds: 1));