Rounds the given DateTime to the last day of the year.
static DateTime roundToLastDayOfYear(DateTime date) { return DateTime(date.year, 12, 31); }