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