startOfYear property

Date startOfYear

Get a Date representing start of year of this Date in local time.

Implementation

Date get startOfYear => DateTime(year).date;