W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: Time in DOM 2 Events

From: John Cowan <jcowan@reutershealth.com>
Date: Mon, 31 Jan 2000 09:40:48 -0500
Message-ID: <38959EF0.703EA9D2@reutershealth.com>
To: Patrick Schmitz <pschmitz@microsoft.com>, www-dom@w3.org
Patrick Schmitz wrote:

> I cannot believe that I missed this in earlier reviews, but the Event
> interface in  DOM 2 Events is missing a timestamp for the event.  Without
> this, many common UI functions (like filtering small motions between click
> down and click up) will be hard or impossible to do well. In addition, for
> SMIL Boston to work with DOM Events, we would have to define a parallel set
> of Event interfaces that add the time.  This would be a royal pain.

An excellent point.

I propose Java-compatible timestamps: the number of milliseconds since
1970-01-01T00:00:00 UTC, expressed as a 64-bit integer.


Schlingt dreifach einen Kreis vom dies! || John Cowan <jcowan@reutershealth.com>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)
Received on Monday, 31 January 2000 09:41:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC