Converts this duration in a number of hours. Uses a typical half up round, so for example one hour and half is converted to two hours. There is an exception though, when the duration is less than one hour and is not zero it's returned one. This is handy for avoiding infinite loops in some algorithms; when all code is converted to use {@link EffortDuration Effort Durations} this will no longer be necessary.
So there are three cases:
|
|