commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@gmail.com>
Subject Re: ByteSizeUnit a la TimeUnit
Date Wed, 17 Jun 2015 12:03:06 GMT
I'd be happy to donate these if we want them:

https://raw.githubusercontent.com/tomitribe/tomitribe-util/master/src/main/java/org/tomitribe/util/SizeUnit.java
https://raw.githubusercontent.com/tomitribe/tomitribe-util/master/src/test/java/org/tomitribe/util/SizeUnitTest.java

Which commons lib would these go in?  (can send a patch)


-David

On Wed, Jun 17, 2015 at 8:50 AM, Gary Gregory <garydgregory@gmail.com>
wrote:

> 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?
>
> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message