- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Mon, 6 Oct 2003 12:30:00 +0200
- To: Xavier Franc <xfranc@online.fr>, public-qt-comments@w3.org
Received on Monday, 6 October 2003 06:30:17 UTC
> > In the respect of completeness, I would like to mention again > the necessity of constructors for date/time types that accept > numeric arguments like > > xs:date( $year as integer, $month as integer, $day > as integer, > $timezone as ? ) > > xs:time( $hours as integer, $minutes as integer, > $seconds as double, > $timezone ? ) > > This is the reciprocal of component extractors and allows any > computation. I agree that there seems to be a reasonably strong case for these functions. > > > To help "unbloating" - at least from users point of view - > there is also still the possibility to collapse function names like > get-hours-from-dayTimeDuration, > get-hours-from-dateTime, > get-hours-from-time... > into one overloaded 'get-hours' > same way for other functions get-*** etc. > My last attempt to propose such a change failed, largely on the grounds that it's better to define the type checking through the function signatures than in ad-hoc semantic rules. Michael Kay
Received on Monday, 6 October 2003 06:30:17 UTC