roundToFirstDayOfYear method

DateTime roundToFirstDayOfYear()

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

Implementation

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