Jadira is the home for Sousan and Chris Pheby's open source projects. These are reusable open source Java modules that provide first class solutions using the most effective current JEE technologies.

Tag Cloud

Jadira Support > ZoneHelper stange behavior

For purpouse of my application, I have to override default JVM timezone to mine (ie java.util.TimeZone.setDefault())
But ZoneHelper first looks into System.getProperty("user.timezone") which is ignoring my override. I think it's worng. Also ZoneHelper duplicates behavior of org.joda.time.DateTimeZone.getDefault(), so, honestly, I can't see any reason for this class existance at all.

March 30, 2012 | Unregistered Commenterallnightlong

Thanks for your feedback. The current code in SVN actually just delegates to DateTimeZone.getDefault(). You can use the new globalised configuration to allow you to set the zone in one place - redundant but only slightly. See release announcement.

April 4, 2012 | Registered CommenterChris