W3C home > Mailing lists > Public > public-rif-wg@w3.org > March 2010

Re: Fwd: [testcases] bugs in datetime subtraction

From: Polleres, Axel <axel.polleres@deri.org>
Date: Thu, 18 Mar 2010 18:32:04 -0000
Message-ID: <316ADBDBFE4F4D4AA4FEEF7496ECAEF9035DF639@EVS1.ac.nuigalway.ie>
To: <stellamit@gmail.com>, <public-rif-wg@w3.org>
Cc: "Polleres, Axel" <axel.polleres@deri.org>
Stella, all,

Can't check in detail at the moment (sent from my phone), but the proposed changes as I see them in the mail seem correct to me, thanks gary for spotting these! We might also need to re-check other cases with dateTime?

Axel

________________________________

From: Stella Mitchell 
To: Polleres, Axel 
Sent: Thu Mar 18 18:05:00 2010
Subject: Fwd: [testcases] bugs in datetime subtraction 


Axel,

Could you comment, to the whole list, on whether you think Gary's proposed change is correct?

Thanks,
Stella 




---------- Forwarded message ----------
From: Stella Mitchell <stellamit@gmail.com>
Date: Wed, Mar 17, 2010 at 7:59 PM
Subject: Fwd: [testcases] bugs in datetime subtraction
To: Axel Polleres <axel.polleres@deri.org>



Hi, I meant to copy you on this too.
 
Stella


---------- Forwarded message ----------
From: Stella Mitchell <stellamit@gmail.com>

Date: Wed, Mar 17, 2010 at 7:56 PM
Subject: Re: [testcases] bugs in datetime subtraction
To: RIF WG Chairs <team-rif-chairs@w3.org>, Gary Hallmark <gary.hallmark@oracle.com>



Would you rather I make these changes to this approved test case, or put it back to proposed state with a link to Gary's email so that it will be discussed in a future telecon?
 
Stella


On Tue, Mar 16, 2010 at 6:57 PM, Gary Hallmark <gary.hallmark@oracle.com> wrote:


	In the BuiltinsTime test case, I think the following
	
	External( func:subtract-dateTimes( "2000-10-30T06:12:00"^^xs:dateTime "1999-11-28T09:00:00Z"^^xs:dateTime) ) = "P337DT2H12M"^^xs:dayTimeDuration
	External( func:subtract-dates( "2000-10-30"^^xs:date "1999-11-28"^^xs:date ) ) = "P337D"^^xs:dayTimeDuration
	External( func:subtract-times( "11:12:00Z"^^xs:time "04:00:00"^^xs:time ) ) = "PT2H12M"^^xs:dayTimeDuration
	
	should be changed to
	
	External( func:subtract-dateTimes( "2000-10-30T06:12:00Z"^^xs:dateTime "1999-11-28T09:00:00Z"^^xs:dateTime) ) = "P337DT21H12M"^^xs:dayTimeDuration
	External( func:subtract-dates( "2000-10-30"^^xs:date "1999-11-28"^^xs:date ) ) = "P338D"^^xs:dayTimeDuration
	External( func:subtract-times( "11:12:00Z"^^xs:time "04:00:00Z"^^xs:time ) ) = "PT7H12M"^^xs:dayTimeDuration
	
	
	
	
	
	




Received on Thursday, 18 March 2010 18:32:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 18 March 2010 18:32:40 GMT