Esempio n. 1
0
        protected override object BuildGroupKey(DateTime time)
        {
            var dateKey = new ChartItemDateKey
            {
                Year  = time.Year,
                Month = time.Month
            };

            return(dateKey);
        }
Esempio n. 2
0
 protected abstract DateTime GetDateTimeFromGroupKey(ChartItemDateKey groupKey);
Esempio n. 3
0
        protected override DateTime GetDateTimeFromGroupKey(ChartItemDateKey dateKey)
        {
            var dateTime = new DateTime(dateKey.Year, dateKey.Month, dateKey.Day);

            return(dateTime);
        }