Re: [Joda-interest] Convert UTC to CST

2011-12-27 Thread Stephen Colebourne
There is not 100% compatibility - some IDs like CST do not work. You must manually convert between the invalid short IDs and the valid long ones. Stephen On 27 December 2011 06:20, Pradeep Reddy Jutur wrote: > I do know that CST is not a valid timezone id , but java.util.Timezone class > conside

Re: [Joda-interest] Convert UTC to CST

2011-12-26 Thread Pradeep Reddy Jutur
I do know that CST is not a valid timezone id , but java.util.Timezone class considers it as a valid value . How do you provide compatibility between joda and util timezones ? On Mon, Dec 26, 2011 at 4:38 PM, Stephen Colebourne wrote: > The valid time zone IDs are listed here - > http://joda-tim

Re: [Joda-interest] Convert UTC to CST

2011-12-26 Thread Stephen Colebourne
The valid time zone IDs are listed here - http://joda-time.sourceforge.net/timezones.html . CST is not one of them. Stephen On 26 December 2011 15:14, Pradeep Reddy Jutur wrote: > Here is my code to convert UTC time to CST/PST. > > > String testDate = "2011-12-21T18:47:00Z"; > DateTime utcDateTim