×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:DateField implementation bug in Nokia 6600 (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
Forum Nokia KB (Talk | contribs)
hamishwillee (Talk | contribs)
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{KBKI}}
+
{{Archived|timestamp=20120414153917|user=[[User:Lpvalente|Lpvalente]]}}
__NOTOC__
+
[[Category:Known Issue]][[Category:Java ME]][[Category:S60 2nd Edition (initial release)]]
__NOEDITSECTION__
+
{|border="2" cellspacing="0" cellpadding="4" width="100%"
+
|colspan = "2"|
+
====DateField implementation bug in Nokia 6600====
+
|
+
=====KIJ000445=====
+
  
|-
 
|
 
======Overview======
 
|colspan = "2"|DateField does not display time zone offset.
 
  
|-
+
{{ArticleMetaData <!-- v1.2 -->
|
+
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
======Reported against======
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|colspan = "2"|S60 2nd Edition, Nokia 6600 (sw version 5.53.0)
+
|devices= Nokia 6600 (sw version 5.53.0)
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|platform= S60 2nd Edition
 +
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20061019
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|subcategory=
 +
|id= KIJ000445
 +
}}
  
|-
+
==Overview==
|
+
{{Abstract|DateField does not display time zone offset. }}
======Date identified======
+
|colspan = "2"|October 19, 2006
+
  
|-
+
==Description==
|
+
DateField doesn't &nbsp;use the time zone offset, but instead always displays the default time of the phone.
======Symptoms======
+
|colspan = "2"|-
+
  
|-
+
==How to reproduce==
|
+
Create a new time zone offset value with the following line:<br>TimeZone timezone = TimeZone.getTimeZone("GMT-00:30");<br>The example uses minus 30 minutes as an offset value. Use the created offset values as a parameter in dateField constructor:<br>today = new Date(System.currentTimeMillis());<br>datefield = new DateField("title",DateField.DATE_TIME, timezone);<br>datefield.setDate(today);<br>Now the dateField should have the current date and current time <nowiki>+</nowiki>/- the selected offset value.
======Detailed description======
+
|colspan = "2"|DateField doesn<nowiki>’</nowiki>t &nbsp;use the time zone offset, but instead always displays the default time of the phone.
+
 
+
|-
+
|
+
======How to reproduce======
+
|colspan = "2"|Create a new time zone offset value with the following line:<br>TimeZone timezone = TimeZone.getTimeZone("GMT-00:30");<br>The example uses minus 30 minutes as an offset value. Use the created offset values as a parameter in dateField constructor:<br>today = new Date(System.currentTimeMillis());<br>datefield = new DateField("title",DateField.DATE_TIME, timezone);<br>datefield.setDate(today);<br>Now the dateField should have the current date and current time <nowiki>+</nowiki>/- the selected offset value.
+
 
+
|-
+
|
+
======Solution======
+
|colspan = "2"|-
+
 
+
|-
+
[[Category:Known Issue]][[Category:Java ME]][[Category:S60 2nd Edition]]
+
'''Bold text'''
+

Revision as of 02:22, 19 June 2012

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
Tested with
Devices(s): Nokia 6600 (sw version 5.53.0)
Compatibility
Platform(s): S60 2nd Edition
S60 2nd Edition (initial release)
Article
Created: User:Technical writer 1 (19 Oct 2006)
Last edited: hamishwillee (19 Jun 2012)

Overview

DateField does not display time zone offset.

Description

DateField doesn't  use the time zone offset, but instead always displays the default time of the phone.

How to reproduce

Create a new time zone offset value with the following line:
TimeZone timezone = TimeZone.getTimeZone("GMT-00:30");
The example uses minus 30 minutes as an offset value. Use the created offset values as a parameter in dateField constructor:
today = new Date(System.currentTimeMillis());
datefield = new DateField("title",DateField.DATE_TIME, timezone);
datefield.setDate(today);
Now the dateField should have the current date and current time +/- the selected offset value.

124 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.

×