夏令时规则更改使C运行时库无效? [英] Has the daylight savings rule change invalidated the C runtime library?
问题描述
前段时间,我组合了一个基于时间的图书馆,可用于在一年内为某人制作相对时间。当时我注意到,这样做是为了夏令时,双向一小时的转向。我刚刚发现,国会更改了夏令时规则。我不记得看到有关更新的任何信息来解决算法的变化。有没有人有关于这个主题的任何信息?
大多数类Unix系统使用Olson tz数据库来显示时区信息: / p>
http:// www。 twinsun.com/tz/tz-link.htm
美洲时区规则的更改已在tz数据库的版本2005l中实现。 >
Some time ago I put together a time based library that could be used for working out relative times within a year for someone. I noted at the time, that it did the one hour shift in both directions for daylight savings. It just occurred to me that Congress changed the daylight savings time rules. I don't recall seeing any information about updates to resolve the change in algorithms. Does anyone have any information on this topic?
Most Unix-like systems use the Olson tz database for their timezone information:
http://www.twinsun.com/tz/tz-link.htm
The changes to the US timezone rules were implemented in version 2005l of the tz database.
这篇关于夏令时规则更改使C运行时库无效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!