是否有时区信息的中央存储库 [英] Is there a central repository for time zone information

查看:31
本文介绍了是否有时区信息的中央存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道系统在不同级别使用自己的时区数据库.

I know that systems are using their own time zone databases at different levels.

是否有一个集中存放所有 timezeone 和 DST 信息的地方,让程序员可以轻松地将更新写入他们的时区数据源?

Is there a central place where all timezeone and DST information lives, that makes it easy for programmers to write updates to their time zone data sources?

例如,人们是否为每种可能的组合规定了时区?例如,墨西哥领土上的岛屿不遵循 DST,因此它们每个都必须与三个大陆时区不同(应该使用 DST 日期范围进行描述).

For example, do people make provisions for a time zone for each possible combination? For example, islands in Mexican territory don't follow DST, so they would each have to be different from the three mainland time zones (that should be described w/ DST date ranges).

推荐答案

我所知道的最好的数据库是 tz 数据库,也称为 Olson 数据库.

The best database I know of is the tz database, also known as the Olson database.

这篇关于是否有时区信息的中央存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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