I read (dont't know where anymore, but see here) when using Jodatime you have to keep files up to date. What kind of files? Why is that?
-
Where did you read that? – notnoop Nov 10 '09 at 13:56
-
Jon Skeet states it at : http://stackoverflow.com/questions/375544/are-there-any-cons-to-using-jodatime – Peter Nov 10 '09 at 13:59
-
Another Skeet fact :=) : His name only makes comments go away – Peter Nov 10 '09 at 14:01
-
Of course, no harm done, but "I read that if you open your bellybutton your belly falls of" seems to go a bit in the direction of disbelief. I should have mention a source of course, but hadn't one in mind. I just googled on it. – Peter Nov 10 '09 at 14:16
2 Answers
Joda-Time contains the time zone data from the standard source. As governments change their time zone rules, the data is updated. The Joda-Time jar file can be updated with the latest data using this process. It is recommended to keep the time zone data of the JDK and the time zone data of Joda-Time in line if possible.
However, if your application only uses a single time zone, or a stable time zone, then there is no need to keep up to date with the latest information, and the jar would not need to be updated.
BTW, there is no configuration for calendar systems or leap seconds. There is only configuration for time zones.

- 60,927
- 15
- 95
- 117
You will need to use the latest jar in most time, i.e. updating the jar should suffice.
The related discussion is regarding is about Joda inclusion of configuration files for the different calendars. Joda stores information about the calendars, their daylight saving status, etc in files that are included in the jar. Overtime, governments decide to change such rules. In such cases, these included configuration files need to be updated.
Basically, by including an old copy of the jodatime jar, you run the risk of having discrepancies in your time analysis.

- 58,763
- 21
- 123
- 144
-
+1 for the info, but couldn't accept it since the leap seconds does not seem to be correct (http://joda-time.sourceforge.net/faq.html#leapseconds) – Peter Nov 10 '09 at 14:30