×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    13

    Get TimeZone name

    Hello

    I am developing a J2ME application in which I require timezone.
    Currently using calendar and TimeZone class I am able to get timezone value as GMT+5:30, but my requirement is String like "Delhi/Calcutta" or "Asia/Pacific" and not the GMT value.
    Is there any way to get such value for TimeZone?

    Thanks,
    Smita.

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: Get TimeZone name

    No, I think there is no way to get this information.

    Cheers,
    Graham.

  3. #3
    Nokia Developer Champion
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330

    Thumbs up Re: Get TimeZone name

    Hi,
    i have read out the TimeZone class but unfortunately not found any surprising result. I dont think so that it is possible to retrieve city name etc in j2me with the help of TimeZone atleast.



    thanks,
    jitu_goldie..
    thanks,
    jitu_goldie..

    KEEP TRYING..

  4. #4
    Regular Contributor
    Join Date
    Sep 2007
    Location
    Thirunelveli
    Posts
    115

    Re: Get TimeZone name

    Hi Smitasuhas,
    Its not possible to get the string. I have faced with similar requirement. what i did was stored GMT with country mapping in the midlet. Only this way is possible. you can the details of this from www.timeanddate.com

    Regards
    Senthil

Similar Threads

  1. timezone offsets
    By A.Vogel in forum Symbian C++
    Replies: 5
    Last Post: 2007-09-07, 15:33
  2. Can we set Phone TimeZone using midp app
    By dhanyap in forum Mobile Java General
    Replies: 0
    Last Post: 2006-10-24, 16:15
  3. S603d device: timezone issue in calendar app
    By blizzz in forum Symbian C++
    Replies: 25
    Last Post: 2006-09-07, 07:10
  4. Timezone & DST
    By heikkishannu in forum Nokia M2M
    Replies: 0
    Last Post: 2005-03-29, 17:33
  5. TimeZone , Network and 6600
    By judyj2x in forum Mobile Java General
    Replies: 2
    Last Post: 2004-05-27, 16:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •