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

F&O Rounding algoritm for months

From: John Mercado <johnkmercado@yahoo.com>
Date: Mon, 2 Sep 2002 11:12:14 -0400 (EDT)
Message-ID: <20020902151210.53625.qmail@web12901.mail.yahoo.com>
To: XQuery Comments <public-qt-comments@w3.org>

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
Received on Monday, 16 September 2002 14:04:27 GMT

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