Clarification request on xsd datatypes that "Appendix E Adding durations to dateTimes" applies to

        Link:
        http://www.w3.org/TR/xmlschema-2/#adding-durations-to-dateTimes


Clarification Comment:
The XSD builtin datatypes, gMonthDay and time,  are missing from the 
sentence below "This appendix also addresses the
additions of durations to the datatypes ......".  Since Section 3.2.12 
gMonthDay and Section 3.2.8 time contain a
reference to Appendix E, one would conclude they should also be listed 
in this sentence to confirm that the add duration
algorithm also applies to these two types.

Context for clarification:


    E Adding durations to dateTimes

Given a dateTime <http://www.w3.org/TR/xmlschema-2/#dateTime> S and a 
duration <http://www.w3.org/TR/xmlschema-2/#duration> D, this appendix 
specifies how to compute a dateTime 
<http://www.w3.org/TR/xmlschema-2/#dateTime> E where E is the end of the 
time period with start S and duration D i.e. E = S + D. Such 
computations are used, for example, to determine whether a dateTime 
<http://www.w3.org/TR/xmlschema-2/#dateTime> is within a specific time 
period. This appendix also addresses the addition of duration 
<http://www.w3.org/TR/xmlschema-2/#duration>s to the datatypes date 
<http://www.w3.org/TR/xmlschema-2/#date>, gYearMonth 
<http://www.w3.org/TR/xmlschema-2/#gYearMonth>, gYear 
<http://www.w3.org/TR/xmlschema-2/#gYear>, gDay 
<http://www.w3.org/TR/xmlschema-2/#gDay> and gMonth 
<http://www.w3.org/TR/xmlschema-2/#gMonth>, which can be viewed as a set 
of dateTime <http://www.w3.org/TR/xmlschema-2/#dateTime>s. In such 
cases, the addition is made to the first or starting dateTime 
<http://www.w3.org/TR/xmlschema-2/#dateTime> in the set.


-Joe Fialli, Sun Microsystems

Received on Friday, 27 February 2004 14:26:10 UTC