[concurrency-interest] Timeunit.convertMillies()

David Holmes dholmes@dltech.com.au
Thu, 11 Sep 2003 12:26:28 +1000

Kasper Nielsen wrote:
> I find myself writing a lot of
> unit.convert(time, TimeUnit.MILLISECONDS)
> in all my calls to sleep and wait, would be much nicer with just
> unit.toMillies(time);

Why not use the TimeUnit sleep and timedwait methods rather than

David Holmes