|
From: Lukas R. <luk...@gm...> - 2006-01-03 18:12:36
|
*zzz* joda-time-1.0 was on my classpath (which doesn't provide the methods from 1.2 i was searching for). Am Freitag, 30. Dezember 2005 11:04 schrieb Lukas Ruetz: > Hi > > I've made my own TimeOfDay class because it wasn't supported by > the java classes. Now I found joda and was happy to see > that you have a TimeOfDay. > > I've downloaded the source and binary form of 1.2 and found > out that they differ. The API-doc and the source contain > methods (from AbstractPartial) like isBefore() compareTo() etc. > but the binary form does not. > > I need especially this comparing-methods. It would be ok if > I could get the millisOfDay, but this is missing (like > discussed before). > > the code tod.toDateTimeToday(DateTimeZone.UTC).getMillisOfDay(); > always constructs a new DateTime what is expensive in my case, > because I do a lot of comparison. > > Is there any solution to this? > > thanks > lukas |