Clive D.W. Feather <[email protected]> wrote: > > Okay, all of those three (as amended in the first case) are of that form: > > 2012-01-30 + 1 month > 2012-02-29 + 4 months > 2012-02-27 + 4 months > > and let me add: > > 2011-02-28 + 1 year
The usual way to deal with logic of this kind is to be explicit about whether you are counting from the start or the end of the month. I don't know if there is consensus on whether day-of-month overflows should saturate or carry... Tony. -- f.anthony.n.finch <[email protected]> http://dotat.at/ Bailey: Variable becoming southerly 3 or 4, increasing 5 to 7. Rough or very rough. Wintry showers then rain. Moderate or good. _______________________________________________ LEAPSECS mailing list [email protected] http://six.pairlist.net/mailman/listinfo/leapsecs
