10th Assignment. addTime

0b101101101
Endlosschleifenbastler
Endlosschleifenbastler
Beiträge: 179
Registriert: 15. Apr 2015 18:24

10th Assignment. addTime

Beitrag von 0b101101101 » 25. Jan 2018 15:19

I suppose one is not allowed to call addTime twice and it does only set the time (instead of accumulating it), like the other methods called 'add*'.

meichholz
Endlosschleifenbastler
Endlosschleifenbastler
Beiträge: 167
Registriert: 30. Mär 2016 08:28

Re: 10th Assignment. addTime

Beitrag von meichholz » 26. Jan 2018 11:43

Hi,

the name of the method might be a bit missleading. The idea is, that whenever you work on task, you would call addTime, to track the amount of time you spent working on this task. It just updates the duration, so it is fine to call it multiple times.

Best,
Matthias

Antworten

Zurück zu „Archiv“