public BumpInfo(uint startYear, uint finishYear) { _byYear = new Dictionary <uint, YearInfo>(); for (uint y = startYear; y <= finishYear; ++y) { _byYear[y] = new YearInfo(); } }
public void IncrementValueOf(DateTime date) { YearInfo info = _byYear[(uint)date.Year]; info.IncrementValueOf(date); }