Exemple #1
0
        //need to remove ITimeLogsManager from driver
        #region ITimeLogsManager Members

        public List <IActivity> GetActivities(DateTime day)
        {
            if (timeLogsManager != null)
            {
                return(timeLogsManager.GetActivities(day));
            }
            return(null);
        }
Exemple #2
0
 private TimeSpan GetSpentOnDay(DateTime day)
 {
     if (timeLogsManager != null)
     {
         List <IActivity> activities = timeLogsManager.GetActivities(day);
         return(this.SummarizeSpent(activities));
     }
     return(TimeSpan.Zero);
 }