W3C home > Mailing lists > Public > public-rif-wg@w3.org > February 2009

Re: Action 695 argument

From: Gary Hallmark <gary.hallmark@oracle.com>
Date: Tue, 10 Feb 2009 08:59:28 -0800
Message-ID: <4991B270.800@oracle.com>
To: Dave Reynolds <der@hplb.hpl.hp.com>
CC: Changhai Ke <cke@ilog.fr>, RIF WG <public-rif-wg@w3.org>

Jos pointed out most of my "missing" builtins are actually there, in the 
casting builtins.  I think we are missing maybe 2 builtins:

   * How can I change a datetime from one timezone to another?
   * How do I reference the current datetime (e.g. fn:current-dateTime)?


Gary Hallmark wrote:
>
>
>
> Dave Reynolds wrote:
>> So it sounds like you might need to propose that RIF adds xsd:date 
>> and xsd:time (with and without timezone).
>>
> according to DTB, RIF already has xsd:date and xsd:time.
>
> why does xml schema add xsd:datetimestamp, but not add xsd:datestamp 
> and xsd:timestamp that makes the timezone mandatory for dates and 
> times as well as datetimes?
>
> It looks like DTB is incomplete in its support for date, time, 
> datetime, and duration builtins.  For example,
>
>    * how can I construct a date from a string like "2009-02-09"?    * 
> How can I construct a datetime from a date and a time?    * How can I 
> split a datetime into a date and a time?    * How can I add a (int) 
> number of hours to a datetime?
>    * How can I change a datetime from one timezone to another?
>    * How do I reference the current datetime (e.g. fn:current-dateTime
>      <#func-current-dateTime>)
>
>
Received on Tuesday, 10 February 2009 17:00:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:34:03 GMT