NetBSD/lib/libc/time
cgd b2b63ed4f4 Newer GCCs give warnings when the result of preprocessor token pasting
is not itself a valid (single) preprocessor token.  In other words, don't
use __CONCAT() to add a structure member name to a pointer dereference.
2000-12-19 22:20:48 +00:00
..
asctime.c check LIBC_SCCS 2000-09-13 22:32:25 +00:00
checktab.awk Merge tzcode1999h. 1999-11-10 20:32:30 +00:00
ctime.3 * Use standard interval notation for struct tm members. 2000-07-10 12:39:39 +00:00
difftime.c check LIBC_SCCS 2000-09-13 22:32:25 +00:00
ialloc.c
localtime.c check LIBC_SCCS 2000-09-13 22:32:25 +00:00
Makefile.inc
private.h Merge strftime from tzcode2000g. 2000-12-12 15:35:31 +00:00
README
scheck.c
strftime.3 Add the C99 %F conversion. 2000-01-15 16:59:05 +00:00
strftime.c Merge strftime from tzcode2000g. 2000-12-12 15:35:31 +00:00
strptime.3
strptime.c Newer GCCs give warnings when the result of preprocessor token pasting 2000-12-19 22:20:48 +00:00
Theory Merge tzcode2000g. 2000-12-12 15:25:41 +00:00
time2posix.3
tz-art.htm Import tzcode2000g. 2000-12-12 15:21:09 +00:00
tz-link.htm Import tzcode2000g. 2000-12-12 15:21:09 +00:00
tzcode2netbsd Reflect current situation: we're using the tzcode-maintained strftime now. 2000-12-12 15:36:49 +00:00
tzfile.5
tzfile.h
tzselect.8 Merge tzcode1999h. 1999-11-10 20:32:30 +00:00
tzselect.ksh Merge tzcode1999h. 1999-11-10 20:32:30 +00:00
tzset.3 Move orphaned information to tzset(3). 2000-06-05 11:56:13 +00:00
zdump.8
zdump.c
zic.8 Merge tzcode1999i. 1999-11-16 22:41:02 +00:00
zic.c Merge tzcode2000g. 2000-12-12 15:25:41 +00:00

@(#)README	7.10

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

Be sure to read the comments in "Makefile" and make any changes
needed to make things right for your system.

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

Historical local time information has been included here not because it
is particularly useful, but rather to:

*	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;
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.