奥尔森时区ID使用野田佳彦时间窗口标准格式 [英] Olson Time Zone Id to Windows Standard Format using Noda Time

查看:317
本文介绍了奥尔森时区ID使用野田佳彦时间窗口标准格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Olson和Windows时的Id之间的转换已经拿出上多次SO;许多人建议这个任务乔恩斯基特的野田佳彦时间

The conversion between Olson and Windows time Id's has come up multiple times on SO; with many people suggesting Jon Skeet's Noda Time for this task.

虽然谷歌code页指出,有两个之间的转换功能,我找不到细节如何做到这一点的任何地方。

Whilst the Google Code page states that there is a function to convert between the two, I can't find details anywhere of how to do this.

任何人都可以点我在正确的方向?

Can anyone point me in the right direction?

推荐答案

没有,遗憾的是我们没有映射这种方式圆(Windows来奥尔森)的时刻。

No, unfortunately we don't have a mapping that way round (Windows to Olson) at the moment.

所有的提供者界面稍微在空中现在:

All of the "provider" interface is slightly up in the air right now:


  • 即使在目前的code,还有我们要API的变化,部分使用,使code将其更容易测试

  • 单向code CLDR映射关系1.x和2.x之间变化,所以现在有多个映射各种方式,有可能(IIRC)。

在换句话说:对不起,我们不目前支持这一点,而是试图敲定1.0 API的时候,我们会承担它记

In other words: sorry, we don't support this at the moment, but we'll bear it in mind when trying to finalize the 1.0 API.

这篇关于奥尔森时区ID使用野田佳彦时间窗口标准格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆