commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <Joerg.Schai...@Elsag-Solutions.com>
Subject RE: [POLL] System.currentTimeMillis()
Date Thu, 15 Dec 2005 08:34:57 GMT
Dakota Jack wrote on Thursday, December 15, 2005 7:01 AM:

> You are assuming that there will be a time difference in millis
> between the two time calls. System.currentTimeMillis() takes a
> relatively long time to return.  So, I would not trust that
> assumption. 

No, I just assume that the millis are the same or greater. This implies that the clock does
not walk backwards (or you hit the millis overflow when running the test).

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message