Hi, We should consider replacing TimeBucket class with Period in Joda Time library when creation of arbitrary time buckets are allowed, for eg. 5H, 3d, etc.
Joda Time library is popular and widely used. It has Duration and Period classes that are very convenient. These classes have been added to JDK 8. I will be using Joda library for ManagedState implementation. Thanks, Chandni
