开发者

How to obtain timezone of a particular area in android

开发者 https://www.devze.com 2023-03-12 11:11 出处:网络
I need to find the time zone of a area as my application will be available almost everywhere.. So i need 开发者_开发百科to find the time zone so that i can send notifications as per the time of a day.

I need to find the time zone of a area as my application will be available almost everywhere.. So i need 开发者_开发百科to find the time zone so that i can send notifications as per the time of a day... how to find out?


You can get the Timezone of the Device that is running your application with TimeZone.getDefault(); http://download.oracle.com/javase/1.4.2/docs/api/java/util/TimeZone.html#getDefault%28%29

0

精彩评论

暂无评论...
验证码 换一张
取 消