Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
sheetaloswal
Posts: 59
Registered: ‎03-06-2012
My Device: 9700
Accepted Solution

Timezone short values

Hi All,

 

 How can i get the vales for a timezone as EST,GMT,UST ,currently i can read the timezone with

    TimeZone[] zone = TimeZoneUtilities.getAvailableTimeZones(); this returns the value as Pacific/Honolulu ...,

 

The short value and long value is short value is:Hawaii (-10)
long value is:smileysad:GMT-10:00) Hawaii

 

I need only 3 letter data,how to get this .

Please use plain text.
Developer
simon_hain
Posts: 16,216
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: Timezone short values

I had a similar problem, as the values from the BB API were not accepted by Exchange.
It was some quite boring work mapping them (manually)!
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.