TimeZone ID's in Java

后端 未结 7 1919
孤街浪徒
孤街浪徒 2020-12-09 09:19

I\'m having weird problem with java TimeZone..

Calling TimeZone.getDefault() gives my local time zone, which has an ID \"GMT+02:00\". Funny thing is

7条回答
  •  情歌与酒
    2020-12-09 09:53

    How about using TimeZone.getAvailableIDs() and group them by the part before the slash and make it a two step selection?

提交回复
热议问题