java - Defaulting date time zone to UTC for Jodatime's DateTime - Stack Overflow
If you only want to set the default timezone for joda time, use DateTimeZone.setDefault
.
If you want to change the timezone that the whole jvm uses use TimeZone.setDefault
method. Just be sure to set it early as it can be cached by joda time.. quoted from DateTimeZone.getDefault:
Read full article from java - Defaulting date time zone to UTC for Jodatime's DateTime - Stack Overflow
No comments:
Post a Comment