Esempio n. 1
0
        public BumpInfo(uint startYear, uint finishYear)
        {
            _byYear = new Dictionary <uint, YearInfo>();

            for (uint y = startYear; y <= finishYear; ++y)
            {
                _byYear[y] = new YearInfo();
            }
        }
Esempio n. 2
0
        public void IncrementValueOf(DateTime date)
        {
            YearInfo info = _byYear[(uint)date.Year];

            info.IncrementValueOf(date);
        }