Re: Mapping Java Time Zone data to Microsoft (WinCE 5.0) Time Zones.



Until someone decides that there needs to be an RFC sort of standard...

Paul T.

"Greg Hellem" <ghellem@xxxxxxxxxxx> wrote in message
news:133euoeaomvad9f@xxxxxxxxxxxxxxxxxxxxx
I was assumming that would be the reply I'd get.
Thanks,
Greg Hellem

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23GQYaVBjHHA.3700@xxxxxxxxxxxxxxxxxxxxxxx
The naming of zones is never going to be standardized. Use the offset
from GMT and the daylight saving time flag to decide what zone is
actually in use. For offsets where there are more than one possible
target zone, you'll have to figure out some sort of a way to map one to
the other (a table of zone mappings evaluated and approved by a real
person, for example). You could ask the user to pick from a list, or you
could map every zone manually and put the result somewhere that your code
can get to it.

Paul T.

"Greg Hellem" <ghellem@xxxxxxxxxxx> wrote in message
news:133et75saggs507@xxxxxxxxxxxxxxxxxxxxx
I work for a company that is heavily involved in Supply Chain Management
and our main web-based server-side product is written completely in Java.
Our customers use Symbol (now Motorola) WinCE 5.0 Mobile Devices for data
collection purposes within their warehouses and forward the data in a
batch mode through the Internet to our web servers. Customers have
requested that we create a mechanism whereby the mobile device will
synchronize the date, time and appropriate time zone with our web server
every time collected data is transmitted to the host machine. This means
that our customers can define, using our Java web-based server
application, the Time Zone that they are currently in and whether or not
to use Daylight Saving Time. The mobile application (written in VB .NET
2.0) can then issue a SOAP Request to retrieve the date, time and time
zone of where the mobile device is currently located. Well, I've run into
a brick-wall in the sense that the time zones (Display Name, Standard
Name and Daylight Name) do not always match the time zone information
provided in the Registry on a WinCE device!!
I'm looking for any known conversion methods whereby we can somehow
remap the time zones used by Java and the time zones used on a WinCE 5.0
device. Meaning, if a user selects a Time Zone of "America/Guayaquil"
from the UI on our web-based server application then it will respond to
the mobile application's SOAP Request with the TimeZoneID of
"America/Guayaquil" and the DisplayName of "Ecuador Time". Neither of
these strings exist in the Registry on a WinCE 5.0 Mobile Device!! I
could certainly use the UTC Offset provided in the SOAP Response to find
a valid entry but that leads to setting the wrong text of the current
time zone. We are using the Java TimeZone class with
TimeZone.getAvailableIDs and TimeZone.getDisplayName methods on the
server-side to respond to the SOAP Request from the mobile application.
So, does anyone have any ideas on how to map Java Time Zone data with
the Time Zone data found in the Registry on a WinCE 5.0 Mobile Device?
Thank you for any assistance you might provide,
Greg Hellem (ghellem@xxxxxxxxxxxxxx)







.



Relevant Pages

  • Mapping Java Time Zone data to Microsoft (WinCE 5.0) Time Zones.
    ... our main web-based server-side product is written completely in Java. ... we create a mechanism whereby the mobile device will synchronize the date, ... time and appropriate time zone with our web server every time collected data ... define, using our Java web-based server application, the Time Zone that they ...
    (microsoft.public.windowsce.app.development)
  • Re: Daylight savings time
    ... It doesn't want to run from my PC, and when I copy it into the Programs file on the Axim, the device doesn't see it. ... Then change your time zone to any other time zone and back to yours or reset the device ... Then when I sync with Outlook, it changes the times on the PC by an hour. ... another old trick that's been floating around for the Mobile Device. ...
    (microsoft.public.pocketpc)
  • Re: Calendar time shift on WM5 - 6.1 when changing time zones
    ... transparent with mobile device vs PC fails then. ... E.g. when I am travelling and somebody call me for an appointment when I ... zone I wil not first change the time zone again in my device before I ... candidate for what I like to call the "Digital Watch Paradigm." ...
    (microsoft.public.pocketpc.phone_edition)
  • Re: Calendar time shift on WM5 - 6.1 when changing time zones
    ... transparent with mobile device vs PC fails then. ... zone I wil not first change the time zone again in my device before I ... Anyway give at least the option, "Do you want to shift appointments when ... When you fly from NY to LA, you don't change the time zone on your watch, ...
    (microsoft.public.pocketpc.phone_edition)
  • Re: DST patch
    ... is way too hard to attempt to expand it for modern time zone data. ... sense for the Apple IIgs to use the same data. ... downloaded automatically so the developer wouldn't have to generate new releases ten or so times a year (that assumes that the tzdata format doesn't require a new parser). ...
    (comp.sys.apple2)

Loading