YearRange constructor

YearRange(
  1. Date start,
  2. int _ago, [
  3. RangeTitle _titleFunction = _defaultTitle
])

Implementation

YearRange(Date start, this._ago, [this._titleFunction = _defaultTitle])
    : _start = Date(start.year, 1, 1);