Ejemplo 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();
            }
        }
Ejemplo n.º 2
0
        public void IncrementValueOf(DateTime date)
        {
            YearInfo info = _byYear[(uint)date.Year];

            info.IncrementValueOf(date);
        }