بدون توضیح

Arthur David Olson d7603d4635 disclaimer 16 سال پیش
Makefile d79e87ddad public domain 14 سال پیش
README 72921383f0 public domain 14 سال پیش
TESTS ef46c5c06e SCCS-file: TESTS 14 سال پیش
Theory a48ab4afe0 Calendrical Calculations update 14 سال پیش
africa 1fc0a500e9 Egypt ends on Aug 20/21 in 2009 14 سال پیش
antarctica 5b813196d9 cosmetic change 14 سال پیش
asctime.c 8399649d38 optimization 14 سال پیش
asia d46c329a8b Dhaka fix 14 سال پیش
australasia cee9be8247 Samoan start date 14 سال پیش
backward e91109f4c3 public domain notice 14 سال پیش
checktab.awk cc0382de51 user@machine eliminated 14 سال پیش
date.1 8fd12bab6b public domain 14 سال پیش
date.c 0b443afe62 noncontroversial changes 14 سال پیش
difftime.c 6b19e8d7a0 user@machine eliminated 14 سال پیش
etcetera 0d314f0f82 public domain notice 14 سال پیش
europe c0e177e775 Russian region comments changed 14 سال پیش
factory b82a081042 public domain notice 14 سال پیش
gccdiffs b95b10d897 SCCS ID 14 سال پیش
glibc-pre2.0.c ecadf14ac1 compilation work 14 سال پیش
glibc1091.c 2b4c7e904b compilable without balance of gnu gunk 14 سال پیش
hr435 934b854f3c convert dates 14 سال پیش
ialloc.c f5aba3674d public domain notice 14 سال پیش
iso3166.tab 33c9680795 public domain 14 سال پیش
itca.jpg fae0289a16 created 14 سال پیش
leapseconds 4b7c7670ca no leap second at end of 2009 14 سال پیش
localtime.c 6744ab818d goback/goahead at very start 14 سال پیش
logwtmp.c 43a6871338 logwtmp.c goes 14 سال پیش
newctime.3 0c98b26d8e public domain 14 سال پیش
newstrftime.3 229037019b public domain 14 سال پیش
newtzset.3 d5b890fc48 public domain 14 سال پیش
northamerica e569308518 more Mexico DST work 14 سال پیش
pacificnew 29450313c8 public domain notice 14 سال پیش
posix 12ebf50d8c created 14 سال پیش
private.h 69ef9e0816 HAVE_STRERROR goes 14 سال پیش
scheck.c a98c7060a3 disclaimers 14 سال پیش
solar87 a8e622f68d public domain notice 14 سال پیش
solar88 1560c746e3 public domain notice 14 سال پیش
solar89 afcfca68ac public domain notice 14 سال پیش
southamerica 324d7f5a25 Chile earthquake change for 2010 14 سال پیش
strftime.c 2ccec13562 c format warning fix 14 سال پیش
systemv 2060bf5eec public domain notice 14 سال پیش
time2posix.3 c26e29c945 user@machine eliminated 14 سال پیش
tz-art.htm f545f8ec76 30 Rock reference 14 سال پیش
tz-link.htm 11aeca3eba Simple Timer + Clocks 14 سال پیش
tzfile.5 6a9f077198 typo fix 14 سال پیش
tzfile.h 1ab18b876f 64-bit version 14 سال پیش
tzselect.8 dc066bdc8e public domain 14 سال پیش
tzselect.ksh a2563cea80 --help and --version work 14 سال پیش
usno1988 6561a54899 convert dates 14 سال پیش
usno1989 6f6baf8b60 convert dates 14 سال پیش
usno1989a 8caa2511a1 electronic mail addresses purged 14 سال پیش
usno1995 cb13010e16 electronic mail addresses purged 14 سال پیش
usno1997 db7b7dfd6a electronic mail addresses purged 14 سال پیش
usno1998 33796bf2d5 electronic mail addresses purged 14 سال پیش
usno2004 346c5896ab electronic mail address purged 14 سال پیش
workman.sh 9a127d706c public domain 14 سال پیش
yearistype.sh 89431665df disclaimers 14 سال پیش
zdump.8 25766f54c3 public domain 14 سال پیش
zdump.c 9141e8082d usage function cleanup 14 سال پیش
zic.8 d7603d4635 disclaimer 14 سال پیش
zic.c 9c60b87f16 do not produce POSIX string if we end up in DST 14 سال پیش
zone.tab 62250927e3 more Mexico DST work 14 سال پیش
zoneinfo2tdf.pl 51385ad4f9 Pizzini patch; head work 14 سال پیش

README

%W%
This file is in the public domain, so clarified as of
2009-05-17 by Arthur David Olson.

"What time is it?" -- Richard Deacon as The King
"Any time you want it to be." -- Frank Baxter as The Scientist
(from the Bell System film "About Time")

The 1989 update of the time zone package featured

* POSIXization (including interpretation of POSIX-style TZ environment
variables, provided by Guy Harris),
* ANSIfication (including versions of "mktime" and "difftime"),
* SVIDulation (an "altzone" variable)
* MACHination (the "gtime" function)
* corrections to some time zone data (including corrections to the rules
for Great Britain and New Zealand)
* reference data from the United States Naval Observatory for folks who
want to do additional time zones
* and the 1989 data for Saudi Arabia.

(Since this code will be treated as "part of the implementation" in some places
and as "part of the application" in others, there's no good way to name
functions, such as timegm, that are not part of the proposed ANSI C standard;
such functions have kept their old, underscore-free names in this update.)

And the "dysize" function has disappeared; it was present to allow compilation
of the "date" command on old BSD systems, and a version of "date" is now
provided in the package. The "date" command is not created when you "make all"
since it may lack options provided by the version distributed with your
operating system, or may not interact with the system in the same way the
native version does.

Since POSIX frowns on correct leap second handling, the default behavior of
the "zic" command (in the absence of a "-L" option) has been changed to omit
leap second information from its output files.

Here is a recipe for acquiring, building, installing, and testing the
tz distribution on a GNU/Linux or similar host.

mkdir tz
cd tz
wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
gzip -dc tzcode*.tar.gz | tar -xf -
gzip -dc tzdata*.tar.gz | tar -xf -

Be sure to read the comments in "Makefile" and make any changes needed
to make things right for your system, especially if you are using some
platform other than GNU/Linux. Then run the following commands,
substituting your desired installation directory for "$HOME/tzdir":

make TOPDIR=$HOME/tzdir install
$HOME/tzdir/etc/zdump -v America/Los_Angeles

To use the new functions, use a "-ltz" option when compiling or linking.

Historical local time information has been included here to:

* provide a compendium of data about the history of civil time
that is useful even if the data are not 100% accurate;

* give an idea of the variety of local time rules that have
existed in the past and thus an idea of the variety that may be
expected in the future;

* provide a test of the generality of the local time rule description
system.

The information in the time zone data files is by no means authoritative;
the files currently do not even attempt to cover all time stamps before
1970, and there are undoubtedly errors even for time stamps since 1970.
If you know that the rules are different from those in a file, by all means
feel free to change file (and please send the changed version to
tz@elsie.nci.nih.gov for use in the future). Europeans take note!

Thanks to these Timezone Caballeros who've made major contributions to the
time conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
Guy Harris; Mark Horton; John Mackin; and Bradley White. Thanks also to
Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
for testing work, and to Gwillim Law for checking local mean time data.
None of them are responsible for remaining errors.

Look in the ~ftp/pub directory of elsie.nci.nih.gov
for updated versions of these files.

Please send comments or information to tz@elsie.nci.nih.gov.