W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2003

[F&O] subtracting date/time with empty sequence

From: Sarah Wilkin <swilkin@apple.com>
Date: Wed, 19 Nov 2003 15:34:35 -0800
Message-Id: <EF003F2E-1AE8-11D8-99AF-0003935B7D94@apple.com>
To: public-qt-comments@w3.org

I'm curious why the subtract functions on date/time were changed to 
take the empty sequence but the ones on durations were not. Is this a 
bug or is there a decision behind it?

The ones that can take the empty sequence are:
op:subtract-dates
fn:subtract-dateTimes-yielding-dayTimeDuration
fn:subtract-dateTimes-yielding-yearMonthDuration
op:subtract-times

The ones that cannot are:
op:subtract-dayTimeDuration-from-date
op:subtract-dayTimeDuration-from-dateTime
op:subtract-dayTimeDuration-from-time
op:subtract-dayTimeDurations
op:subtract-yearMonthDuration-from-date
op:subtract-yearMonthDuration-from-dateTime
op:subtract-yearMonthDurations

--Sarah
Received on Wednesday, 19 November 2003 18:34:29 GMT

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