Archived:DateField implementation bug in Nokia 6600 (Known Issue)
hamishwillee
(Talk | contribs) m (Hamishwillee - Bot update) |
hamishwillee
(Talk | contribs) m (moved DateField implementation bug in Nokia 6600 (Known Issue) to Archived:DateField implementation bug in Nokia 6600 (Known Issue)) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Archived|timestamp=20120414153917|user=[[User:Lpvalente|Lpvalente]]}} | ||
| + | [[Category:Known Issue]][[Category:Java ME]][[Category:S60 2nd Edition (initial release)]] | ||
| + | |||
| + | |||
{{ArticleMetaData <!-- v1.2 --> | {{ArticleMetaData <!-- v1.2 --> | ||
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | |sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) --> | ||
| Line 26: | Line 30: | ||
==Overview== | ==Overview== | ||
| − | DateField does not display time zone offset. | + | {{Abstract|DateField does not display time zone offset. }} |
==Description== | ==Description== | ||
| Line 33: | Line 37: | ||
==How to reproduce== | ==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. | 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. | ||
| − | |||
| − | |||
Latest revision as of 02:22, 19 June 2012
Archived: 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.
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
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.

