[concurrency-interest] Small request regarding TimeUnit
dawidk at mathcs.emory.edu
Tue Jan 16 12:48:37 EST 2007
Kasper Nielsen wrote:
> 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.
I think MICROSECONDS might be problematic. Should it print u, or µ ?...
I guess, depending on the context, people might want to have it either way.
More information about the Concurrency-interest