Esempio n. 1
0
 public TimeManager(ITimeLogsManager timeLogsManager)
 {
     currentActivity   = new RunningActivity(FIRST_ACTIVITY);
     midnightCorrector = new MidnightSwitcher();
     if (timeLogsManager != null)
     {
         TimeLogsManager = timeLogsManager;
         timeLogsManager.ActivateTimeLog(currentActivity.Start.Date);
     }
 }
 public void SetUp()
 {
     midnightSwitcher = new MidnightSwitcher();
 }
Esempio n. 3
0
 public void SetUp()
 {
     midnightSwitcher = new MidnightSwitcher();
 }