The problem is that the result cannot be February 31st. So which
   would be the resulting epoch?

Using the precedence rule first we add 1 year to 2007-01-31 resulting
in 2008-01-31. Then we add 1 month (February in a leap year) resulting
in 2008-02-29.

What do you think?


Well... don't really like it. This means that there are three different time origins for which the calendar time span gives the same result... isn't it?

29 January 2007 + (1 year + 1 month) = 29 February 2008
30 January 2007 + (1 year + 1 month) = 29 February 2008
31 January 2007 + (1 year + 1 month) = 29 February 2008




Reply via email to