获取不同的时区的时间,从时间选择器选择时间时间、时区、不同、选择器

2023-09-06 03:04:40 作者:囍战

我将选择小时和分钟各国不同的时区的问题。 假设,如果我在印度选择上午10点的话,我想知道在上午10点在印度这将是在美国/纽约和Tokyo.and反之亦然。

I have an issue of converting selected hours and minutes to different time zones of countries. Supposing if i select 10 am in India then i want to know at 10 am in india what will be the time in USA/New york and Tokyo.and Vice versa.

任何帮助是AP preciable ... 谢谢

Any help is appreciable... Thank you

推荐答案

请尝试使用乔达时库 检查 org.joda.time.DateTimeZone类

这里是API文档一样。