endOfYear method

Moment endOfYear()

Returns end of the year

Returned object will have same timezone as this

Implementation

Moment endOfYear() => endOf(DurationUnit.year);