roundToLastDayOfYear method
Returns a new DateTime rounded to the last day of the year.
Implementation
DateTime roundToLastDayOfYear() {
return DateTimeCalculator.roundToLastDayOfYear(this);
}
Returns a new DateTime rounded to the last day of the year.
DateTime roundToLastDayOfYear() {
return DateTimeCalculator.roundToLastDayOfYear(this);
}