NetBSD/lib/libc/time
kleink d898f65fdd Need an internal name for tzname. 1998-10-16 12:56:44 +00:00
..
Arts.htm Merge tzcode1998f. 1998-09-10 15:58:38 +00:00
Makefile.inc Add -DALL_STATE, to allocate localtime() data structures dynamically. 1998-07-28 20:26:01 +00:00
README sync with tzcode1998b 1998-01-22 07:17:18 +00:00
Theory sync with tzcode1998a 1998-01-22 07:06:56 +00:00
WWW.htm Merge tzcode1998h. 1998-10-04 19:27:55 +00:00
asctime.c Oops, also needs "namespace.h". 1998-10-08 12:18:18 +00:00
checktab.awk RCS Id Police. 1998-01-09 04:11:49 +00:00
ctime.3 Correct doc for tm.tm_sec to document range 0..61, not 0..60 (strptime(3) 1998-03-19 16:26:35 +00:00
difftime.c Fix RCSID's 1997-07-13 20:25:30 +00:00
ialloc.c Fix RCSID's 1997-07-13 20:25:30 +00:00
localtime.c Need an internal name for tzname. 1998-10-16 12:56:44 +00:00
private.h Merge tzcode1998h. 1998-10-04 19:27:55 +00:00
scheck.c sync with tzcode1997g 1997-09-05 02:11:55 +00:00
strftime.3 Change interval specification style from (a-b) to [a,b] where appropriate. 1998-02-11 18:52:24 +00:00
strftime.c Frob internal state keeping to make strftime() reentrant. 1998-09-27 16:41:20 +00:00
strptime.3 Fubar: XPG4 (SUS'98) _does_ specify two digit year behavior without %C. 1998-05-05 14:24:00 +00:00
strptime.c Cosmetical changes, and squash some lint. 1998-09-07 14:11:37 +00:00
time2posix.3 sync with tzcode1998a 1998-01-22 07:06:56 +00:00
tzcode2netbsd Converts an extracted tzcode distribution into the format suitable for 1998-10-05 19:44:53 +00:00
tzfile.5 Merge tzcode1998f. 1998-09-10 15:58:38 +00:00
tzfile.h sync with tzcode1998a 1998-01-22 07:06:56 +00:00
tzselect.8 RCS Id Police. 1998-01-09 04:11:49 +00:00
tzselect.ksh Merge tzcode1998f. 1998-09-10 15:58:38 +00:00
tzset.3 Sync with tzcode1997e 1997-06-18 01:12:39 +00:00
zdump.8 sync with tzcode96l 1996-09-10 22:04:29 +00:00
zdump.c const poisoning. 1998-07-26 16:01:12 +00:00
zic.8 Merge tzcode1998h. 1998-10-04 19:27:55 +00:00
zic.c Merge tzcode1998h. 1998-10-04 19:27:55 +00:00

README

@(#)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.