[LEAPSECS] Lets get REAL about time.
    Tony Finch 
    dot at dotat.at
       
    Fri Jan 27 09:09:29 EST 2012
    
    
  
Clive D.W. Feather <clive at davros.org> 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  <dot at dotat.at>  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.
    
    
More information about the LEAPSECS
mailing list