Any one know how to convert UTC
time to CST
time using joda date time api
?
My code is something like this.
DateTimeZone
Some of the three-letter time zones (EST and MST, for example) are included in the default time zone database used by Joda. Others (CST and PST, for example) are not. (See http://joda-time.sourceforge.net/timezones.html for more details.)
The time zone IDs supported by Joda can be obtained by calling org.joda.time.DateTimeZone.getAvailableIDs()
, and that set does differ from those returned by java.util.TimeZone.getAvailableIDs()
.