endOfYear method
Returns end of the year
Returned object will have same timezone as this
Implementation
DateTime endOfYear() => endOf(DurationUnit.year);
Returns end of the year
Returned object will have same timezone as this
DateTime endOfYear() => endOf(DurationUnit.year);