Ejemplo n.º 1
0
        private void ActivateTimeLog(DateTime date)
        {
            ITimeLog activeTimeLog = TimeLogsManager.ActivateTimeLog(date);

            HistoryDataProvider.UpdateTimeLog(activeTimeLog);
            workingTime.TimeLog = activeTimeLog;
        }
Ejemplo n.º 2
0
        public void SetSummaryPeriod(DateTime from, DateTime to)
        {
            activitiesSummary.TimeLogs = TimeLogsManager.GetTimeLogs(from, to);
            TasksSummary goodTasksSummary = tasksSummary as TasksSummary;

            if (goodTasksSummary != null)
            {
                goodTasksSummary.Calculate();
            }
        }