如何在Windows Mobile for PDA上检索时区选择

时间:2020-03-06 14:43:52  来源:igfitidea点击:

有没有一种方法可以检索Windows Mobile中的时区选择以便在GUI中显示它们?最好不必每隔15分钟显示一次
能够显示加德满都的GMT + 5:45.

解决方案

Windows Mobile将时区信息存储在名为Timezones.csv的文件中

Windows Mobile SDK的\ Resource文件夹中提供了Timezones.csv和CityList.csv文件!

我们可以修改列表并确定要显示给用户的列表。

根据MSDN:城市列表和时区数据文件,

You can add or remove content to these
  files. You can redistribute these
  files as is or repackage this data by
  including it in source code, a
  database, or another format. You are
  permitted to use excerpts of this data
  rather than the entire data set.
Note   Microsoft bears no responsibility for the content or
usage of these files. Certain locales have specific legal requirements with
regard to providing data of this type; ensure you are in compliance with such
regulations.
If you use the city data
  provided or if you use any type of
  geographical information from any
  source, you are encouraged to provide
  a way for users to edit, add, and
  delete information.