I can't answer your question as is, but I can say this: the JodaTime library is a far superior API than the standard Java date/time/ calendar classes.
-Nick On Apr 15, 11:19 pm, Ajay <aja...@gmail.com> wrote: > Hi, > I am using the switchTimezone() method of the Time class. I am not > sure what string should be passed to convert the time to a different > time zone. For example: My current time zone is +5:30 GMT and current > time is 11:30 AM (+5:30 GMT) and I call the switchTimeZone() by > passing a string "America/California". I was expecting the result to > be 11:00 PM (-7 PDT), but I got the result as 6:00 AM, which I guess > is the UTC time. Any idea what could be the issue here? > > Thanks, > AJ > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en