startOfYear method

Moment startOfYear()

Returns start of the year

Returned object will have same timezone as this

Implementation

Moment startOfYear() => startOf(DurationUnit.year);