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 <garydgreg...@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: garydgreg...@gmail.com | ggreg...@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 >