TimeRange.prevYear constructor

TimeRange.prevYear()

In the local timezone

Implementation

factory TimeRange.prevYear() =>
    YearTimeRange.fromDateTime(Moment.startOfPrevYear());