A simple solution to #102: when seeing two Durations next to each other, "add" them using the smaller unit. This only works approximately for months, but should be good enough in "reasonable" cases.
A more complex solution aggregating different units in one object and re-normalizing the result (i.e. make 50 hours into 2 days and 2 hours on the representation level) would be better, but also much more work. Unless there is a good use case, this should be good enough to start with
A simple solution to #102: when seeing two
Durations
next to each other, "add" them using the smaller unit. This only works approximately for months, but should be good enough in "reasonable" cases.A more complex solution aggregating different units in one object and re-normalizing the result (i.e. make
50 hours
into2 days and 2 hours
on the representation level) would be better, but also much more work. Unless there is a good use case, this should be good enough to start with