roundToLastDayOfYear method

DateTime roundToLastDayOfYear()

Returns a new DateTime rounded to the last day of the year.

Implementation

DateTime roundToLastDayOfYear() {
  return DateTimeCalculator.roundToLastDayOfYear(this);
}