Table of contentsAppendices |
E.2 Commutativity and AssociativityCommutativity and AssociativityTime durations are added by simply adding each of their fields, respectively, without overflow. The order of addition of durations to instants is significant. For example, there are cases where: ((dateTime + duration1) + duration2) != ((dateTime + duration2) + duration1) Example: (2000-03-30 + P1D) + P1M = 2000-03-31 + P1M = 2001-04-30 (2000-03-30 + P1M) + P1D = 2000-04-30 + P1D = 2000-05-01 |