我想知道大陆/国家提供的时区ID名称?例如
System.out.println(TimeZone.getTimeZone("PDT"));
I wanted answer as north america/america.
System.out.println(TimeZone.getTimeZone("GMT+05:30"));
I wanted answer as asia/india.
i am not getting the desired output.
The reason of asking question :: I am storing in my database on server the timezone(PDT,GMT+05:30) as given by the mobile
device.Now i need to perform analytics , that my app was accessed from which continent/country.
Run Code Online (Sandbox Code Playgroud)
感谢帮助......
不可以.时区在全球范围内垂直切割,有许多国家拥有相同的时区.
例如,印度位于中国西南部,因此对于某些时区而言,"中国"的答案同样正确.
请访问此网站,查看时区地图以及适用的国家/地区:http://www.timeanddate.com/time/map/
| 归档时间: |
|
| 查看次数: |
792 次 |
| 最近记录: |