suganthi kaliamoorthy wrote:
> DateTimeZone dateTimeZone = DateTimeZone.getDefault();
> long utcTime = dateTimeZone.convertLocalToUTC(localTimeInMillis, false);

convertLocalToUTC() is really an internal operation, not designed for 
general use.

Create a DateTime object specifying the time zone. Then use withZone() 
to change the zone to another zone.

Stephen

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to