Archived:Inaccurate results for time zones with half-hour parts on S60 MIDlets (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Created: User:Technical writer 1 (24 Aug 2006)
Last edited: hamishwillee (16 Aug 2013)


Asking for the default time zone ID and raw offset produces erroneous results for the time zones with half-hour parts for S60 MIDlets.


If the current time zone for the phone contains half-hour parts, that is, they are not on the hour (for example, Indian Standard Time GMT +05:30), the phone reports the hour ID and raw offset from GMT when queried with getID and getRawOffset() methods. For example, for GMT +05:30 the ID returned is GMT +05:00 and raw offset is 18000000, not 19800000.


No workaround available.

This page was last modified on 16 August 2013, at 03:44.
42 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.