gpt4 book ai didi

c# - .NET 中的 "US Eastern Standard Time"与 "Eastern Standard Time"

转载 作者:可可西里 更新时间:2023-11-01 09:03:15 27 4
gpt4 key购买 nike

在列出 TimeZoneInfo.GetSystemTimeZones 返回的 TimeZoneInfo 的所有 Id 属性时,出现了两个版本的 EST:美国东部标准时间和东部标准时间。有什么区别?

我还看到美国山地标准时间和山地标准时间,但我很确定那是因为美国版本适用于不遵守夏令时的亚利桑那州。我假设常规的山区标准时间适用于山区时区的美国其他州。我说得对吗?

有关美国时区的有用链接:http://www.timetemperature.com/tzus/time_zone.shtml

最佳答案

“美国东部标准时间”是指印第安纳州大部分地区的时区,在 2007 年之前没有实行夏令时。同样,“加拿大中部标准时间”用于萨斯喀彻温省,“美国山区标准时间”用于亚利桑那州,仍然不遵守夏令时。

时区 ID 的分配方式有点不合逻辑。例如提到的“无夏令时”版本开曼群岛被称为“SA 太平洋标准时间”(SA = 南美洲,如果您查看时区 map ,您会看到 -05:00 偏移量适用于南美洲西海岸的哥伦比亚、厄瓜多尔和秘鲁)

另一个时区 ID 的例子“Greenwich Standard Time”是指冰岛使用的时区,全年为 UTC+00:00,没有 DST,而“GMT Standard Time”是指英国时区确实有夏令时。

每个时区对应于您可以从时区控制面板中选择的菜单项之一。 This MSDN page shows the correspondence between the text in the menu and the actual timezone ID :

010  Mountain Standard Time         (GMT-07:00) Mountain Time (US and Canada)
013 Mexico Standard Time 2 (GMT-07:00) Chihuahua, La Paz, Mazatlan
015 U.S. Mountain Standard Time (GMT-07:00) Arizona
020 Central Standard Time (GMT-06:00) Central Time (US and Canada)
025 Canada Central Standard Time (GMT-06:00) Saskatchewan
030 Mexico Standard Time (GMT-06:00) Guadalajara, Mexico City, Monterrey
033 Central America Standard Time (GMT-06:00) Central America
035 Eastern Standard Time (GMT-05:00) Eastern Time (US and Canada)
040 U.S. Eastern Standard Time (GMT-05:00) Indiana (East)
045 S.A. Pacific Standard Time (GMT-05:00) Bogota, Lima, Quito
085 GMT Standard Time (GMT) Greenwich Mean Time: Dublin, Edinburgh, Lisbon, London
090 Greenwich Standard Time (GMT) Casablanca, Monrovia

关于c# - .NET 中的 "US Eastern Standard Time"与 "Eastern Standard Time",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11457040/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com