There was a project UUID in apache can create TimeUUID , url is: http://commons.apache.org/sandbox/id/uuid.html 

please refer to javadoc: http://commons.apache.org/sandbox/id/apidocs/org/apache/commons/id/uuid/UUID.html

code like:

UUID uuid = org.apache.commons.id.uuid.UUID.timeUUID()


2009/11/9 Richard grossman <richiesgr@gmail.com>

I build a CF based on Date Time so I think there is a interrest to define the CF with compareBy TimeUUID. But I can't understand how to use this in java
I've a Calendar object representing a date time.
I want to use it as column name but as you know you can only put ther byte[] so how to pass from a Calendar to byte[].

which representation I need to use ??

Thanks to help
If you know somewhere there is a sample or anything please