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

F&O Question about extraction from negative date/duration values

From: Natalie Gordon <nfg@decisionsoft.com>
Date: Fri, 20 Sep 2002 07:53:25 -0400 (EDT)
To: public-qt-comments@w3.org
Message-ID: <Pine.LNX.4.44.0209201245260.3007-100000@ouse.dsl.local>




Hi,

I've made the assumption that extracting from a negative 
yearMonthDuration, dayTimeDuration, dateTime, and date returns a negative 
value (as opposed to the component's absolute value).  Is that a correct 
assumption?

If it is, then there's a problem with the inclusive statements 8.4.10 - 
8.4.12 (eg. "The hours value ranges from 0 to 23, inclusive").

If this assumption is not correct, then should there be a 
is-positive function (or an equivalent statement) for these datetypes?  

Cheers,
Natalie

-- 
Natalie Gordon, Software Engineer	  DecisionSoft Ltd.
Telephone: +44 (0) 1865 203192		  http://www.decisionsoft.com
Pathan Open Source XPath 2:		  http://software.decisionsoft.com
Received on Friday, 20 September 2002 11:04:50 GMT

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