了解ETC / GMT时区 [英] Understanding the Etc/GMT time zone

查看:7043
本文介绍了了解ETC / GMT时区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是使用ETC / GMT时区时,他们从App Store回执自动再生订阅落后于苹果的理由。

What is the rationale behind Apple using Etc/GMT timezone when they return the receipt from the App Store for auto-renewable subscriptions.

到底什么是ETC / GMT时区?难道Java SDK的理解这个时区?还是我必须使用其他第三方库如乔达时

What exactly is the Etc/GMT time zone? Does the Java SDK understand this time zone? Or do I have to use other third-party libraries like Joda-Time?

推荐答案

ETC / GMT是的的严格同样的事情,UTC或GMT。他们重新present在同一时刻只有当偏移量为0。在其他情况下,它们是完全不同的。

Etc/GMT is not strictly the same thing as UTC or GMT. They represent the same instant in time only when the offset is 0. In all other cases, they are quite different.

苹果解释的指定<一href=\"http://opensource.apple.com/source/system_cmds/system_cmds-230/zic.tproj/datfiles/etcetera\">here.

直接从链路A引用了一个例子:

A quote directly from the link gives an example:

我们使用的区域名称和输出的缩写POSIX风格的迹象,
  尽管这是很多人期待相反。
  POSIX有阳性体征格林威治西部,但很多人期待
  积极的迹象格林威治东边。例如,TZ ='ETC / GMT + 4'用途
  缩写GMT + 4,对应于背后UTC4小时
  (即格林威治以西),尽管很多人会指望它
  平均比UTC(即格林威治以东),4小时

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).

这篇关于了解ETC / GMT时区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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