Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jan 2009

    DST Calculation in FlashLite 4


    I have been working on a Clock Application in FlashLite 4 and need some inputs. Rather I already have published a WorldClock app on OVI Store for Symbian ^3 devices but now need to add DST support.

    Suppose a city has X TimezoneOffset normally, if during the DST the clock is advanced by Y, then what is returned by Date.getTimezoneOffset(); in FlashLite 4. Does it always return the standard X TimezoneOffset or does it modify the TimezoneOffset based on clock advancement?

    I understand that Flash/FlashLite player do not automatically support DST calculation and has to settle on some alternatives so any suggestions are welcome.


  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2011

    Re: DST Calculation in FlashLite 4

    for local time guess the time returned by flash has the DST from the phone

    for other locations you can google the conditions and implement them in the app (you probably have to implement some function firstSundayOfSomeMonth or lastSundayOfSomeMonth...)

    or just read them online with some crawler(which you have to make it) from here http://www.timeanddate.com/worldclock/

Similar Threads

  1. checksum calculation
    By bejoy_ak in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-11-14, 02:59
  2. Calculation of MAC in the WSP header
    By 2sents in forum OMA DM/DS/CP
    Replies: 11
    Last Post: 2009-05-26, 10:16
  3. Limitation/Difference between standlone flashlite app & Webpage embedded flashlite ap
    By msathiskumar in forum [Archived] Flash Lite on Nokia Devices
    Replies: 7
    Last Post: 2009-03-16, 17:20
  4. calculation
    By sumit.rathi in forum Symbian
    Replies: 2
    Last Post: 2008-12-15, 12:27
  5. Free Memory Calculation
    By rave_symbian in forum Symbian
    Replies: 9
    Last Post: 2004-07-26, 06:27

Posting Permissions

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