Apple 使用 Etc/GMT 时区从 App Store 返回自动续订订阅收据时的基本原理是什么。
Etc/GMT 时区究竟是什么? Java SDK 是否理解这个时区?还是我必须使用其他第三方库,例如 Joda-Time ?
最佳答案
Etc/GMT 不与 UTC 或 GMT 完全相同。它们仅在偏移量为 0 时表示同一时刻。在所有其他情况下,它们完全不同。
Apple 解释了该名称 here .
直接从链接中引用一个例子:
We use POSIX-style signs in the Zone names and the output abbreviations, even though this is the opposite of what many people expect. POSIX has positive signs west of Greenwich, but many people expect positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses the abbreviation "GMT+4" and corresponds to 4 hours behind UTC (i.e. west of Greenwich) even though many people would expect it to mean 4 hours ahead of UTC (i.e. east of Greenwich).
关于java - 了解 Etc/GMT 时区,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7303580/