[concurrency-interest] Small request regarding TimeUnit

Hanson Char hanson.char at gmail.com
Tue Jan 16 12:14:26 EST 2007


If only enum can be subclassed ... :)

Hanson

On 1/15/07, Kasper Nielsen <kasper at kav.dk> wrote:
>
> Hi,
>
> Whenever I use TimeUnit and need to do any reporting in regards to that.
> I often prefer outputting the actual unit in a short notation, for
> example, ns instead of nanoseconds, µs instead of microseconds, ...
> I think it would a small but usefull addition (for some) to add some
> kind of
> String getShortForm() method to TimeUnit.
>
> cheers
> Kasper
>
> _______________________________________________
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20070116/336e4771/attachment.html 


More information about the Concurrency-interest mailing list