W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2002

Re: F&O Rounding algoritm for months

From: John Mercado <johnkmercado@yahoo.com>
Date: Tue, 17 Sep 2002 07:13:09 -0400 (EDT)
Message-ID: <20020917111308.9106.qmail@web12906.mail.yahoo.com>
To: XQuery Comments <public-qt-comments@w3.org>




Never mind about this one - I realize I was mistaken. 
You will always be rounding numbers of months to the
nearest integer with the divide-yearMonthDuration and
multiple-yearMonthDuration functions.

--- John Mercado <johnkmercado@yahoo.com> wrote:
> 
> The xf:get-yearMonthDuration-from-dateTimes function
> describes an algorithm for rounding months (based on
> 15.5 days.)  Should this same algorithm be used in
> multiply-yearMonthDuration and
> divide-yearMonthDuration?   The algorithm seems a
> little underspecified in those two functions -
> specifically, it does not say that a month is
> considered to be 31 days.
> 
>  
> 
> Thanks,
> 
> John
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
Received on Tuesday, 17 September 2002 09:17:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:23 GMT