You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Benedikt Ritter <br...@apache.org> on 2015/06/17 10:42:27 UTC

[IO] Re: ByteSizeUnit a la TimeUnit

Hi Gary,

2015-06-17 9:50 GMT+02:00 Gary Gregory <ga...@gmail.com>:

> Hi All:
>
> Java 5 introduced TimeUnit, a very nice enum.
>
> What do you all think of a ByteSizeUnit enum to handle bit, nibble, byte,
> kilobyte, kilobit, megabyte and so on?
>

Have a look at IO-294 [1] and IO-373 [2].

Benedikt

[1] https://issues.apache.org/jira/browse/IO-294
[2] https://issues.apache.org/jira/browse/IO-373


>
> Gary
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter