etcetera (7858:a7c341f30747) | etcetera (8462:60e3cdbe8cdf) |
---|---|
1# 2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3# 4# This code is free software; you can redistribute it and/or modify it 5# under the terms of the GNU General Public License version 2 only, as 6# published by the Free Software Foundation. Oracle designates this 7# particular file as subject to the "Classpath" exception as provided 8# by Oracle in the LICENSE file that accompanied this code. --- 40 unchanged lines hidden (view full) --- 49Link Etc/GMT Etc/GMT-0 50Link Etc/GMT Etc/GMT+0 51Link Etc/GMT Etc/GMT0 52 53# We use POSIX-style signs in the Zone names and the output abbreviations, 54# even though this is the opposite of what many people expect. 55# POSIX has positive signs west of Greenwich, but many people expect 56# positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses | 1# 2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3# 4# This code is free software; you can redistribute it and/or modify it 5# under the terms of the GNU General Public License version 2 only, as 6# published by the Free Software Foundation. Oracle designates this 7# particular file as subject to the "Classpath" exception as provided 8# by Oracle in the LICENSE file that accompanied this code. --- 40 unchanged lines hidden (view full) --- 49Link Etc/GMT Etc/GMT-0 50Link Etc/GMT Etc/GMT+0 51Link Etc/GMT Etc/GMT0 52 53# We use POSIX-style signs in the Zone names and the output abbreviations, 54# even though this is the opposite of what many people expect. 55# POSIX has positive signs west of Greenwich, but many people expect 56# positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses |
57# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC | 57# the abbreviation "GMT+4" and corresponds to 4 hours behind UT |
58# (i.e. west of Greenwich) even though many people would expect it to | 58# (i.e. west of Greenwich) even though many people would expect it to |
59# mean 4 hours ahead of UTC (i.e. east of Greenwich). | 59# mean 4 hours ahead of UT (i.e. east of Greenwich). |
60# 61# In the draft 5 of POSIX 1003.1-200x, the angle bracket notation allows for 62# TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to 63# ISO 8601 you can use TZ='<-0400>+4'. Thus the commonly-expected 64# offset is kept within the angle bracket (and is used for display) 65# while the POSIX sign is kept outside the angle bracket (and is used 66# for calculation). 67# --- 37 unchanged lines hidden --- | 60# 61# In the draft 5 of POSIX 1003.1-200x, the angle bracket notation allows for 62# TZ='<GMT-4>+4'; if you want time zone abbreviations conforming to 63# ISO 8601 you can use TZ='<-0400>+4'. Thus the commonly-expected 64# offset is kept within the angle bracket (and is used for display) 65# while the POSIX sign is kept outside the angle bracket (and is used 66# for calculation). 67# --- 37 unchanged lines hidden --- |