I'm switching an application over to use Joda Time, but haven't completed
the transition. I'm using both JDK Dates and Calendars as well as Joda
DateTimes.

When using the JDK's TimeZone the default can be set with a java argument:
        -Duser.timezone=UTC

Or via Java:
        TimeZone.setDefault(TimeZone.getTimeZone("UTC"));

Or other ways as well (default to OS timezone, etc.)...

Does Joda Time initialize itself based on these same rules? If my
application has already set the default JDK TimeZone using
TimeZone.setDefault(), do I also need to do this?
         DateTimeZone.setDefault("UTC");

Thanks,
Tauren
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to