Sat Mar 16 00:59:15 2013 UTC ()
apply 2013b


(christos)
diff -r1.11 -r1.12 src/lib/libc/time/Makefile
diff -r1.9 -r1.10 src/lib/libc/time/tz-link.htm

cvs diff -r1.11 -r1.12 src/lib/libc/time/Makefile (expand / switch to unified diff)

--- src/lib/libc/time/Makefile 2013/03/02 21:56:28 1.11
+++ src/lib/libc/time/Makefile 2013/03/16 00:59:14 1.12
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1# <pre> 1# <pre>
2# This file is in the public domain, so clarified as of 2# This file is in the public domain, so clarified as of
3# 2009-05-17 by Arthur David Olson. 3# 2009-05-17 by Arthur David Olson.
4 4
5# Package name for the code distribution. 5# Package name for the code distribution.
6PACKAGE= tzcode 6PACKAGE= tzcode
7 7
8# Version numbers of the code and data distributions. 8# Version numbers of the code and data distributions.
9VERSION= 2013a 9VERSION= 2013b
10 10
11# Email address for bug reports. 11# Email address for bug reports.
12BUGEMAIL= tz@iana.org 12BUGEMAIL= tz@iana.org
13 13
14# Change the line below for your time zone (after finding the zone you want in 14# Change the line below for your time zone (after finding the zone you want in
15# the time zone files, or adding it to a time zone file). 15# the time zone files, or adding it to a time zone file).
16# Alternately, if you discover you've got the wrong time zone, you can just 16# Alternately, if you discover you've got the wrong time zone, you can just
17# zic -l rightzone 17# zic -l rightzone
18# to correct things. 18# to correct things.
19# Use the command 19# Use the command
20# make zonenames 20# make zonenames
21# to get a list of the values you can use for LOCALTIME. 21# to get a list of the values you can use for LOCALTIME.
22 22

cvs diff -r1.9 -r1.10 src/lib/libc/time/Attic/tz-link.htm (expand / switch to unified diff)

--- src/lib/libc/time/Attic/tz-link.htm 2013/03/02 21:24:28 1.9
+++ src/lib/libc/time/Attic/tz-link.htm 2013/03/16 00:59:14 1.10
@@ -1,72 +1,69 @@ @@ -1,72 +1,69 @@
1<!DOCTYPE html 1<!DOCTYPE html
2 PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 PUBLIC "-//W3C//DTD HTML 4.01//EN"
3 "http://www.w3.org/TR/html4/strict.dtd"> 3 "http://www.w3.org/TR/html4/strict.dtd">
4<html> 4<html>
5<head> 5<head>
6<title>Sources for Time Zone and Daylight Saving Time Data</title> 6<title>Sources for Time Zone and Daylight Saving Time Data</title>
7<link rel="schema.DC" href="http://purl.org/DC/elements/1.1/"> 7<link rel="schema.DC" href="http://purl.org/DC/elements/1.1/">
8<meta http-equiv="Content-type" content='text/html; charset="US-ASCII"'> 8<meta http-equiv="Content-type" content='text/html; charset="US-ASCII"'>
9<meta name="DC.Creator" content="Eggert, Paul"> 9<meta name="DC.Creator" content="Eggert, Paul">
10<meta name="DC.Contributor" content="Olson, Arthur David"> 10<meta name="DC.Contributor" content="Olson, Arthur David">
11<meta name="DC.Date" content="2013-02-21"> 11<meta name="DC.Date" content="2013-03-11">
12<meta name="DC.Description" 12<meta name="DC.Description"
13 content="Sources of information about time zones and daylight saving time"> 13 content="Sources of information about time zones and daylight saving time">
14<meta name="DC.Identifier" 14<meta name="DC.Identifier"
15 content="http://www.iana.org/time-zones/repository/tz-link.htm"> 15 content="http://www.iana.org/time-zones/repository/tz-link.htm">
16<meta name="Keywords" 16<meta name="Keywords"
17 content="database,daylight saving,DST,time zone,timezone,tz,zoneinfo"> 17 content="database,daylight saving,DST,time zone,timezone,tz,zoneinfo">
18</head> 18</head>
19<body> 19<body>
20<h1>Sources for Time Zone and Daylight Saving Time Data</h1> 20<h1>Sources for Time Zone and Daylight Saving Time Data</h1>
21<p> 
22This file is in the public domain, so clarified as of 
232009-05-17 by Arthur David Olson. 
24</p> 
25<p> 
26Please send corrections to this web page to the 
27<a href="mailto:tz@iana.org">time zone mailing list</a>.</p> 
28<h2>The <code>tz</code> database</h2> 21<h2>The <code>tz</code> database</h2>
29<p> 22<p>
30The <a href="http://en.wikipedia.org/wiki/Public_domain">public-domain</a> 23The <a href="http://en.wikipedia.org/wiki/Public_domain">public-domain</a>
31time zone database contains code and data 24time zone database contains code and data
32that represent the history of local time 25that represent the history of local time
33for many representative locations around the globe. 26for many representative locations around the globe.
34It is updated periodically to reflect changes made by political bodies 27It is updated periodically to reflect changes made by political bodies
35to <a href="http://en.wikipedia.org/wiki/Time_zone">time zone</a> 28to <a href="http://en.wikipedia.org/wiki/Time_zone">time zone</a>
36boundaries, <a 29boundaries, <a
37href="http://en.wikipedia.org/wiki/Coordinated_Universal_Time"><abbr 30href="http://en.wikipedia.org/wiki/Coordinated_Universal_Time"><abbr
38title="Coordinated Universal Time">UTC</abbr></a> offsets, and 31title="Coordinated Universal Time">UTC</abbr></a> offsets, and
39<a href="http://en.wikipedia.org/wiki/Daylight_saving">daylight-saving</a> 32<a href="http://en.wikipedia.org/wiki/Daylight_saving">daylight-saving</a>
40rules. 33rules.
41This database (often called <code>zoneinfo</code> or <a 34This database (often called <code>zoneinfo</code> or <a
42href="http://en.wikipedia.org/wiki/TZ_database"><code>tz</code></a>) 35href="http://en.wikipedia.org/wiki/Tz_database"><code>tz</code></a>)
43is used by several implementations, 36is used by several implementations,
44including 37including
45<a href="http://www.gnu.org/software/libc/">the 38<a href="http://www.gnu.org/software/libc/">the
46<abbr title="GNU's Not Unix">GNU</abbr> 39<abbr title="GNU's Not Unix">GNU</abbr>
47C Library</a> used in 40C Library</a> (used in
48<a href="http://www.linux.org/"><abbr>GNU</abbr>/Linux</a>, 41<a href="http://www.linux.org/"><abbr>GNU</abbr>/Linux</a>),
 42<a href="http://www.android.com/">Android</a>,
49<a href="http://www.freebsd.org/">FreeBSD</a>, 43<a href="http://www.freebsd.org/">FreeBSD</a>,
50<a href="http://netbsd.org/">NetBSD</a>, 44<a href="http://netbsd.org/">NetBSD</a>,
51<a href="http://openbsd.org/">OpenBSD</a>, 45<a href="http://openbsd.org/">OpenBSD</a>,
52<a href="http://cygwin.com/">Cygwin</a>, 46<a href="http://cygwin.com/">Cygwin</a>,
53<a href="http://www.delorie.com/djgpp/"><abbr 47<a href="http://www.delorie.com/djgpp/"><abbr
54title="DJ's GNU Programming Platform">DJGPP</abbr></a>, 48title="DJ's GNU Programming Platform">DJGPP</abbr></a>,
 49<a href="http://en.wikipedia.org/wiki/WebOS">webOS</a>,
55<a href="http://ibm.com/aix">AIX</a>, 50<a href="http://ibm.com/aix">AIX</a>,
56<a href="http://www.apple.com/macosx/">Mac OS X</a>, 51<a href="http://en.wikipedia.org/wiki/BlackBerry_10">BlackBerry 10</a>,
 52<a href="http://www.apple.com/ios/">iOS</a>,
57<a href="http://h71000.www7.hp.com/">OpenVMS</a>, 53<a href="http://h71000.www7.hp.com/">OpenVMS</a>,
58<a href="http://oracle.com/database">Oracle Database</a>, 54<a href="http://oracle.com/database">Oracle Database</a>,
59<a href="http://sun.com/software/solaris">Solaris</a>, 55<a href="http://www.apple.com/osx/">OS X</a>,
 56<a href="http://oracle.com/solaris">Solaris</a>,
60<a href="http://h30097.www3.hp.com/">Tru64</a>, and 57<a href="http://h30097.www3.hp.com/">Tru64</a>, and
61<a href="http://sco.com/products/unixware">UnixWare</a>.</p> 58<a href="http://sco.com/products/unixware">UnixWare</a>.</p>
62<p> 59<p>
63Each location in the database represents a national region where all 60Each location in the database represents a national region where all
64clocks keeping local time have agreed since 1970. 61clocks keeping local time have agreed since 1970.
65Locations are identified by continent or ocean and then by the name of 62Locations are identified by continent or ocean and then by the name of
66the location, which is typically the largest city within the region. 63the location, which is typically the largest city within the region.
67For example, <code>America/New_York</code> 64For example, <code>America/New_York</code>
68represents most of the <abbr title="United States">US</abbr> eastern time zone; 65represents most of the <abbr title="United States">US</abbr> eastern time zone;
69<code>America/Phoenix</code> represents most of Arizona, which 66<code>America/Phoenix</code> represents most of Arizona, which
70uses mountain time without daylight saving time (<abbr 67uses mountain time without daylight saving time (<abbr
71title="daylight saving time">DST</abbr>); 68title="daylight saving time">DST</abbr>);
72<code>America/Detroit</code> represents most of Michigan, which uses 69<code>America/Detroit</code> represents most of Michigan, which uses
@@ -83,26 +80,27 @@ the location's full name, e.g., TZ @@ -83,26 +80,27 @@ the location's full name, e.g., TZ
83In the <code>tz</code> database's 80In the <code>tz</code> database's
84<a href="ftp://ftp.iana.org/tz/releases/"><abbr 81<a href="ftp://ftp.iana.org/tz/releases/"><abbr
85title="File Transfer Protocol">FTP</abbr> releases</a> 82title="File Transfer Protocol">FTP</abbr> releases</a>
86the code is in the file <code>tzcode<var>C</var>.tar.gz</code>, 83the code is in the file <code>tzcode<var>C</var>.tar.gz</code>,
87where <code><var>C</var></code> is the code's version; 84where <code><var>C</var></code> is the code's version;
88similarly, the data are in <code>tzdata<var>D</var>.tar.gz</code>, 85similarly, the data are in <code>tzdata<var>D</var>.tar.gz</code>,
89where <code><var>D</var></code> is the data's version. 86where <code><var>D</var></code> is the data's version.
90Each version is a four-digit year followed by lower-case letters 87Each version is a four-digit year followed by lower-case letters
91(a through z, then za through zz, then zza through zzz, and so on). 88(a through z, then za through zz, then zza through zzz, and so on).
92Convenience links to 89Convenience links to
93the <a href="ftp://ftp.iana.org/tz/tzcode-latest.tar.gz">latest 90the <a href="ftp://ftp.iana.org/tz/tzcode-latest.tar.gz">latest
94code</a> and 91code</a> and
95<a href="ftp://ftp.iana.org/tz/tzdata-latest.tar.gz">latest data</a> revisions 92<a href="ftp://ftp.iana.org/tz/tzdata-latest.tar.gz">latest data</a> revisions
 93are also available.
96The following <a 94The following <a
97href="http://en.wikipedia.org/wiki/Unix_shell">shell</a> commands download 95href="http://en.wikipedia.org/wiki/Unix_shell">shell</a> commands download
98these files to a <abbr>GNU</abbr>/Linux or similar host; 96these files to a <abbr>GNU</abbr>/Linux or similar host;
99see the downloaded 97see the downloaded
100<code>README</code> file for what to do next.</p> 98<code>README</code> file for what to do next.</p>
101<pre style="margin-left: 2em"><code>mkdir tz 99<pre style="margin-left: 2em"><code>mkdir tz
102cd tz 100cd tz
103<a href="http://www.gnu.org/software/wget/">wget</a> --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz' 101<a href="http://www.gnu.org/software/wget/">wget</a> --retr-symlinks 'ftp://ftp.iana.org/tz/tz*-latest.tar.gz'
104<a href="http://www.gnu.org/software/gzip/">gzip</a> -dc tzcode-latest.tar.gz | <a href="http://www.gnu.org/software/tar/">tar</a> -xf - 102<a href="http://www.gnu.org/software/gzip/">gzip</a> -dc tzcode-latest.tar.gz | <a href="http://www.gnu.org/software/tar/">tar</a> -xf -
105gzip -dc tzdata-latest.tar.gz | tar -xf - 103gzip -dc tzdata-latest.tar.gz | tar -xf -
106</code></pre> 104</code></pre>
107<p> 105<p>
108The code and data files can also be obtained from the 106The code and data files can also be obtained from the
@@ -118,70 +116,68 @@ repository is less well tested and proba @@ -118,70 +116,68 @@ repository is less well tested and proba
118The code lets you compile the <code>tz</code> source files into 116The code lets you compile the <code>tz</code> source files into
119machine-readable binary files, one for each location. It also lets 117machine-readable binary files, one for each location. It also lets
120you read a <code>tz</code> binary file and interpret time stamps for that 118you read a <code>tz</code> binary file and interpret time stamps for that
121location.</p> 119location.</p>
122<p> 120<p>
123The data are by no means authoritative. If you find errors, please 121The data are by no means authoritative. If you find errors, please
124send changes to the <a href="mailto:tz@iana.org">time zone 122send changes to the <a href="mailto:tz@iana.org">time zone
125mailing list</a>. You can also <a 123mailing list</a>. You can also <a
126href="http://news.gmane.org/gmane.comp.time.tz">browse recent 124href="http://news.gmane.org/gmane.comp.time.tz">browse recent
127messages</a> sent to the mailing list, <a 125messages</a> sent to the mailing list, <a
128href="https://mm.icann.org/mailman/listinfo/tz">subscribe</a> to it, 126href="https://mm.icann.org/mailman/listinfo/tz">subscribe</a> to it,
129and browse the <a 127and browse the <a
130href="http://mm.icann.org/pipermail/tz/">archive of old 128href="http://mm.icann.org/pipermail/tz/">archive of old
131+messages</a>.</p> 129messages</a>. For further information about updates, please see
 130<a href="http://tools.ietf.org/html/rfc6557">Procedures for
 131Maintaining the Time Zone Database</a> (Internet <abbr title="Request
 132For Comments">RFC</abbr> 6557).</p>
132<p> 133<p>
133The Web has several other sources for time zone and daylight saving time data. 134The Web has several other sources for time zone and daylight saving time data.
134Here are some links that may be of interest. 135Here are some links that may be of interest.
135</p> 136</p>
136<h2>Web sites using recent versions of the <code>tz</code> database</h2> 137<h2>Web sites using recent versions of the <code>tz</code> database</h2>
137<p> 138<p>
138These are listed roughly in ascending order of complexity and fanciness. 139These are listed roughly in ascending order of complexity and fanciness.
139</p> 140</p>
140<ul> 141<ul>
141<li><a href="http://twiki.org/cgi-bin/xtra/tzdatepick.html">Date and Time Gateway</a> 142<li><a href="http://twiki.org/cgi-bin/xtra/tzdatepick.html">Date and Time Gateway</a>
142lets you see the <code>TZ</code> values directly.</li> 143lets you see the <code>TZ</code> values directly.</li>
143<li><a 144<li><a
144href="http://convertit.com/Go/ConvertIt/World_Time/Current_Time.ASP">Current 145href="http://convertit.com/Go/ConvertIt/World_Time/Current_Time.ASP">Current
145Time in 1000 Places</a> uses descriptions of the values.</li> 146Time in 1000 Places</a> uses descriptions of the values.</li>
146<li><a href="http://www.timezoneconverter.com/cgi-bin/tzc.tzc">Time Zone Converter</a> 147<li><a href="http://www.timezoneconverter.com/cgi-bin/tzc.tzc">Time Zone Converter</a>
147uses a pulldown menu.</li> 148uses a pulldown menu.</li>
148<li><a href="http://home.tiscali.nl/~t876506/TZworld.html">Complete 149<li><a href="http://home.tiscali.nl/~t876506/TZworld.html">Complete
149timezone information for all countries</a> displays tables of DST rules. 150timezone information for all countries</a> displays tables of DST rules.
150<li><a href="http://timeanddate.com/worldclock/">The World Clock &ndash; 151<li><a href="http://timeanddate.com/worldclock/">The World Clock &ndash;
151Time Zones</a> lets you sort zone names and convert times.</li> 152Time Zones</a> lets you sort zone names and convert times.</li>
152<li><a href="http://permatime.com/">Permatime</a> generates and views 153<li><a href="http://permatime.com/">Permatime</a> generates and views
153links that refer to a particular point in time and can be displayed in 154links that refer to a particular point in time and can be displayed in
154multiple timezones.</li> 155multiple timezones.</li>
155<li><a href="http://daylight-savings-time.info/">Daylight Saving Time info</a> 156<li><a href="http://daylight-savings-time.info/">Daylight Saving Time info</a>
156+shows a graph of time 157shows a graph of time
157difference versus time for any pair of locations.</li> 158difference versus time for any pair of locations.</li>
158<li>The <a href="http://worldtimeengine.com/">World Time Engine</a> 159<li>The <a href="http://worldtimeengine.com/">World Time Engine</a>
159also contains data about time zone boundaries; it supports queries via place 160also contains data about time zone boundaries; it supports queries via place
160names and shows location maps.</li> 161names and shows location maps.</li>
161<li><a href="http://simpletimerclocks.mozdev.org/">Simple Timer + Clocks</a> 162<li><a href="http://simpletimerclocks.mozdev.org/">Simple Timer + Clocks</a>
162is a Firefox add-on which uses a timezone data file generated from the 163is a Firefox add-on which uses a timezone data file generated from the
163tz data files.</li> 164tz data files.</li>
164</ul> 165</ul>
165<h2>Other time zone database formats</h2> 166<h2>Other time zone database formats</h2>
166<ul> 167<ul>
167<li>The <a href="ftp://ftp.rfc-editor.org/in-notes/rfc2445.txt"> 168<li>The <a href="http://tools.ietf.org/html/rfc5545">
168Internet Calendaring and Scheduling Core Object Specification 169Internet Calendaring and Scheduling Core Object Specification
169(iCalendar)</a>, Internet <abbr title="Request For 170(iCalendar)</a>, Internet <abbr>RFC</abbr> 5445
170Comments">RFC</abbr> 2445, published by the (now-concluded) <a 
171href="http://ietf.org/html.charters/OLD/calsch-charter.html"><abbr 
172title="Internet Engineering Task Force">IETF</abbr> 
173Calendaring and Scheduling Working Group (<abbr 
174title="Calendaring and Scheduling Working Group">calsch</abbr>)</a> 
175covers time zone 171covers time zone
176data; see its VTIMEZONE calendar component. 172data; see its VTIMEZONE calendar component.
177<a href="http://calconnect.org/">CalConnect, The Calendaring and Scheduling 173<a href="http://calconnect.org/">CalConnect, The Calendaring and Scheduling
178Consortium</a> is promoting further work in this area. <a 174Consortium</a> is promoting further work in this area. <a
179href="http://calconnect.org/publications/icalendartimezoneproblemsandrecommendationsv1.0.pdf">iCalendar 175href="http://calconnect.org/publications/icalendartimezoneproblemsandrecommendationsv1.0.pdf">iCalendar
180TIMEZONE Problems and Recommendations</a> offers guidelines and 176TIMEZONE Problems and Recommendations</a> offers guidelines and
181recommendations for the use of VTIMEZONE and <code>tz</code>.</li> 177recommendations for the use of VTIMEZONE and <code>tz</code>.</li>
182<li><a href="http://calconnect.org/dstlinks.shtml">Extended Daylight 178<li><a href="http://calconnect.org/dstlinks.shtml">Extended Daylight
183Saving Time Links, Advisories and Changes</a> lists vendor material on recent 179Saving Time Links, Advisories and Changes</a> lists vendor material on recent
184daylight saving time changes.</li> 180daylight saving time changes.</li>
185<li><a 181<li><a
186href="http://calconnect.org/publications/timezoneregistryandservicerecommendationsv1.0.pdf">Timezone 182href="http://calconnect.org/publications/timezoneregistryandservicerecommendationsv1.0.pdf">Timezone
187Registry and Service Recommendations</a> discusses a 183Registry and Service Recommendations</a> discusses a
@@ -229,105 +225,105 @@ transition in the tz databa @@ -229,105 +225,105 @@ transition in the tz databa
229Unicode (<abbr>ICU</abbr>)</a> contains C/C++ and <a 225Unicode (<abbr>ICU</abbr>)</a> contains C/C++ and <a
230href="http://en.wikipedia.org/wiki/Java_%28programming_language%29">Java</a> 226href="http://en.wikipedia.org/wiki/Java_%28programming_language%29">Java</a>
231libraries for internationalization that 227libraries for internationalization that
232has a compiler from <code>tz</code> source 228has a compiler from <code>tz</code> source
233into an <abbr>ICU</abbr>-specific format. 229into an <abbr>ICU</abbr>-specific format.
234<abbr>ICU</abbr> is freely available under a 230<abbr>ICU</abbr> is freely available under a
235<abbr title="Berkeley Software Distribution">BSD</abbr>-style license.</li> 231<abbr title="Berkeley Software Distribution">BSD</abbr>-style license.</li>
236<li><a href="http://joda-time.sourceforge.net/">Joda Time - Java date 232<li><a href="http://joda-time.sourceforge.net/">Joda Time - Java date
237and time <abbr title="Application Program Interface">API</abbr></a> 233and time <abbr title="Application Program Interface">API</abbr></a>
238contains a class 234contains a class
239<code>org.joda.time.tz.ZoneInfoCompiler</code> that compiles 235<code>org.joda.time.tz.ZoneInfoCompiler</code> that compiles
240<code>tz</code> source into a Joda-specific binary format. Joda Time 236<code>tz</code> source into a Joda-specific binary format. Joda Time
241is freely available under a <abbr>BSD</abbr>-style license.</li> 237is freely available under a <abbr>BSD</abbr>-style license.</li>
242<li><a href="http://www.relativedata.com/time-zone-master">Time Zone 
243Master</a> is a Microsoft Windows clock program that can automatically 
244download, compile and use the <code>tzdata<var>D</var>.tar.gz</code> 
245files as they are released. The Basic version is free.</li> 
246<li><a href="http://pytz.sourceforge.net">PyTZ - Python Time 238<li><a href="http://pytz.sourceforge.net">PyTZ - Python Time
247Zone Library</a> compiles <code>tz</code> source into 239Zone Library</a> compiles <code>tz</code> source into
248<a href="http://python.org/">Python</a>. 240<a href="http://python.org/">Python</a>.
249It is freely available under a <abbr>BSD</abbr>-style license.</li> 241It is freely available under a <abbr>BSD</abbr>-style license.</li>
250<li><a href="http://tzinfo.rubyforge.org/">TZInfo - Ruby Timezone Library</a> 242<li><a href="http://tzinfo.rubyforge.org/">TZInfo - Ruby Timezone Library</a>
251compiles <code>tz</code> source into 243compiles <code>tz</code> source into
252<a href="http://ruby-lang.org">Ruby</a>. 244<a href="http://ruby-lang.org">Ruby</a>.
253It is freely available under the <abbr 245It is freely available under the <abbr
254title="Massachusetts Institute of Technology">MIT</abbr> license.</li> 246title="Massachusetts Institute of Technology">MIT</abbr> license.</li>
255<li>The <a href="http://chronos-st.org/">Chronos Date/Time 247<li>The <a href="http://chronos-st.org/">Chronos Date/Time
256Library</a> is 248Library</a> is
257a <a href="http://en.wikipedia.org/wiki/Smalltalk">Smalltalk</a> class 249a <a href="http://en.wikipedia.org/wiki/Smalltalk">Smalltalk</a> class
258library that compiles <code>tz</code> source into a time zone repository whose format 250library that compiles <code>tz</code> source into a time zone repository whose format
259is either proprietary or an <a href="http://www.w3.org/XML/"><abbr 251is either proprietary or an <a href="http://www.w3.org/XML/"><abbr
260title="Extensible Markup Language">XML</abbr></a>-encoded 252title="Extensible Markup Language">XML</abbr></a>-encoded
261representation.</li> 253representation.</li>
262<li>Starting with version 8.5, <a href="http://tcl.tk/">Tcl</a> 254<li>Starting with version 8.5, <a href="http://tcl.tk/">Tcl</a>
263contains a developer-oriented parser that compiles <samp>tz</samp> 255contains a developer-oriented parser that compiles <samp>tz</samp>
264source into text files, along with a runtime that can read those 256source into text files, along with a runtime that can read those
265files. Tcl is freely available under a <abbr>BSD</abbr>-style 257files. Tcl is freely available under a <abbr>BSD</abbr>-style
266license.</li> 258license.</li>
267</ul> 259</ul>
268<h2>Other <code>tz</code> binary file readers</h2> 260<h2>Other <code>tz</code> binary file readers</h2>
269<li><a href="http://search.cpan.org/perldoc?DateTime::TimeZone::Tzfile"> 
270DateTime::TimeZone::Tzfile</a> 
271is a <code>tz</code> binary file reader written in Perl. 
272It is freely available under the same terms as Perl 
273(dual <abbr>GPL</abbr> and Artistic license).</li> 
274<li>The 
275public-domain <a href="https://github.com/dbaron/tz.js">tz.js</a> 
276library contains a Python tool that converts <code>tz</code> binary data into 
277<a href="http://www.json.org/">JSON</a>-format data suitable for use 
278in its <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a> library for time zone conversion. Dates before 1970 
279are not supported.</li> 
280<ul> 261<ul>
281<li>The <a 262<li>The <a
282href="http://www.gnu.org/software/libc/"><abbr>GNU</abbr> C 263href="http://www.gnu.org/software/libc/"><abbr>GNU</abbr> C
283Library</a> 264Library</a>
284has an independent, thread-safe implementation of 265has an independent, thread-safe implementation of
285a <code>tz</code> binary file reader. 266a <code>tz</code> binary file reader.
286This library is freely available under the 267This library is freely available under the
287<a href="http://www.gnu.org/copyleft/lesser.html"> 268<a href="http://www.gnu.org/copyleft/lesser.html">
288<abbr>GNU</abbr> Lesser General Public License 269<abbr>GNU</abbr> Lesser General Public License
289(<abbr title="Lesser General Public License">LGPL</abbr>)</a>, 270(<abbr title="Lesser General Public License">LGPL</abbr>)</a>,
290and is widely used in <abbr>GNU</abbr>/Linux systems.</li> 271and is widely used in <abbr>GNU</abbr>/Linux systems.</li>
291<li><a href="http://bmsi.com/java/#TZ">ZoneInfo.java</a> 272<li><a href="http://bmsi.com/java/#TZ">ZoneInfo.java</a>
292is a <code>tz</code> binary file reader written in Java. 273is a <code>tz</code> binary file reader written in Java.
293It is freely available under the <abbr>LGPL</abbr>.</li> 274It is freely available under the <abbr>LGPL</abbr>.</li>
294<li>Tcl, mentioned above, also contains a 275<li>Tcl, mentioned above, also contains a
295<code>tz</code> binary file reader.</li> 276<code>tz</code> binary file reader.</li>
 277<li><a href="http://search.cpan.org/perldoc?DateTime::TimeZone::Tzfile">
 278DateTime::TimeZone::Tzfile</a>
 279is a <code>tz</code> binary file reader written in Perl.
 280It is freely available under the same terms as Perl
 281(dual <abbr>GPL</abbr> and Artistic license).</li>
 282<li>The
 283public-domain <a href="https://github.com/dbaron/tz.js">tz.js</a>
 284library contains a Python tool that converts <code>tz</code> binary data into
 285<a href="http://www.json.org/">JSON</a>-format data suitable for use
 286in its <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a> library for time zone conversion. Dates before 1970
 287are not supported.</li>
296</ul> 288</ul>
297<h2>Other <code>tz</code>-based time zone software</h2> 289<h2>Other <code>tz</code>-based time zone software</h2>
298<ul> 290<ul>
299<li><a href="http://foxclocks.org/">FoxClocks</a> 291<li><a href="http://foxclocks.org/">FoxClocks</a>
300is an extension for <a href="http://google.com/chrome">Google 292is an extension for <a href="http://google.com/chrome">Google
301Chrome</a> and for <a 293Chrome</a> and for <a
302href="http://developer.mozilla.org/en/docs/Toolkit_API">Mozilla 294href="http://developer.mozilla.org/en/docs/Toolkit_API">Mozilla
303Toolkit</a> applications like <a 295Toolkit</a> applications like <a
304href="http://mozilla.com/firefox">Firefox</a> and <a 296href="http://mozilla.com/firefox">Firefox</a> and <a
305href="http://mozilla.com/thunderbird">Thunderbird</a>. 297href="http://mozilla.com/thunderbird">Thunderbird</a>.
306It displays multiple clocks in the application window, and has a mapping 298It displays multiple clocks in the application window, and has a mapping
307interface to <a href="http://earth.google.com/">Google Earth</a>. 299interface to <a href="http://earth.google.com/">Google Earth</a>.
308It is freely available under the <abbr>GPL</abbr>.</li> 300It is freely available under the <abbr>GPL</abbr>.</li>
309<li><a 301<li><a
310href="http://users.skynet.be/Peter.Verthez/projects/intclock/">International 302href="http://users.skynet.be/Peter.Verthez/projects/intclock/">International
311clock (intclock)</a> is a multi-timezone clock for 303clock (intclock)</a> is a multi-timezone clock for
312<abbr>GNU</abbr>/Linux and similar systems. It is freely available 304<abbr>GNU</abbr>/Linux and similar systems. It is freely available
313under the <abbr>GPL</abbr>.</li> 305under the <abbr>GPL</abbr>.</li>
314<li><a href="http://www.oracle.com/us/technologies/java/overview/index.html">Oracle 306<li><a href="http://www.oracle.com/us/technologies/java/overview/index.html">Oracle
315Java</a> releases since 1.4 307Java</a> releases since 1.4
316contain a copy of a subset of a recent <code>tz</code> database in a 308contain a copy of a subset of a recent <code>tz</code> database in a
317Java-specific format.</li> 309Java-specific format.</li>
318<li><a href="http://kimmo.suominen.com/sw/timezone/">Time Zone</a> is 310<li><a href="http://kimmo.suominen.com/sw/timezone/">Time Zone</a> is
319a <a href="http://wordpress.org/">WordPress</a> plugin. It is freely 311a <a href="http://wordpress.org/">WordPress</a> plugin. It is freely
320available under a <abbr>BSD</abbr>-style license.</li> 312available under a <abbr>BSD</abbr>-style license.</li>
 313<li><a href="http://www.relativedata.com/time-zone-master">Time Zone
 314Master</a> is a Microsoft Windows clock program that can automatically
 315download, compile and use the <code>tzdata<var>D</var>.tar.gz</code>
 316files as they are released. The Basic version is free.</li>
321<li><a 317<li><a
322href="http://veladg.com/velaterra.html">VelaTerra</a> is 318href="http://veladg.com/velaterra.html">VelaTerra</a> is
323a Mac OS X program. Its developers 319a Mac OS X program. Its developers
324<a href="http://veladg.com/tzoffer.html">offer free 320<a href="http://veladg.com/tzoffer.html">offer free
325licenses</a> to <code>tz</code> contributors.</li> 321licenses</a> to <code>tz</code> contributors.</li>
326<li><a 322<li><a
327href="http://worldtimeexplorer.com/">World Time Explorer</a> is a 323href="http://worldtimeexplorer.com/">World Time Explorer</a> is a
328Microsoft Windows program.</li> 324Microsoft Windows program.</li>
329</ul> 325</ul>
330<h2>Other time zone databases</h2> 326<h2>Other time zone databases</h2>
331<ul> 327<ul>
332<li><a href="http://www.astro.com/cgi/aq.cgi">Atlas Query</a> 328<li><a href="http://www.astro.com/cgi/aq.cgi">Atlas Query</a>
333is Astrodienst's Web version of Shanks and Pottenger's 329is Astrodienst's Web version of Shanks and Pottenger's
@@ -388,27 +384,26 @@ but the maps are more up to date. @@ -388,27 +384,26 @@ but the maps are more up to date.
388<ul> 384<ul>
389<li><a href="http://efele.net/maps/tz/">TZ timezone maps</a> contains a <a 385<li><a href="http://efele.net/maps/tz/">TZ timezone maps</a> contains a <a
390href="http://en.wikipedia.org/wiki/Shapefile">shapefile</a> of the 386href="http://en.wikipedia.org/wiki/Shapefile">shapefile</a> of the
391<code>tz</code> regions in the world.</li> 387<code>tz</code> regions in the world.</li>
392<li><a href="http://statoids.com/statoids.html">Administrative Divisions 388<li><a href="http://statoids.com/statoids.html">Administrative Divisions
393of Countries ("Statoids")</a> contains detailed lists of 389of Countries ("Statoids")</a> contains detailed lists of
394<code>tz</code>-related zone subdivision data.</li> 390<code>tz</code>-related zone subdivision data.</li>
395<li><a href="http://home.tiscali.nl/~t876506/Multizones.html">Time 391<li><a href="http://home.tiscali.nl/~t876506/Multizones.html">Time
396zone boundaries for multizone countries</a> summarizes legal 392zone boundaries for multizone countries</a> summarizes legal
397boundaries between time zones within countries.</li> 393boundaries between time zones within countries.</li>
398<li>Manifold.net's <a 394<li>Manifold.net's <a
399href="http://manifold.net/info/freestuff.shtml">Free Stuff for 395href="http://manifold.net/info/freestuff.shtml">Free Stuff for
400Manifold System Users</a> includes a Manifold-format map of 396Manifold System Users</a> includes a Manifold-format map of
401Data</a> includes a Manifold-format map of 
402world time zone boundaries distributed under the 397world time zone boundaries distributed under the
403<abbr>GPL</abbr>.</li> 398<abbr>GPL</abbr>.</li>
404<li>The <abbr>US</abbr> Geological Survey's National Atlas of 399<li>The <abbr>US</abbr> Geological Survey's National Atlas of
405the United States 400the United States
406publishes the <a href="http://nationalatlas.gov/mld/timeznp.html">Time 401publishes the <a href="http://nationalatlas.gov/mld/timeznp.html">Time
407Zones of the United States</a> in the public domain.</li> 402Zones of the United States</a> in the public domain.</li>
408<li>The GeoCommunity lists several commercial sources for <a 403<li>The GeoCommunity lists several commercial sources for <a
409href="http://spatialnews.geocomm.com/features/timezones/">International 404href="http://spatialnews.geocomm.com/features/timezones/">International
410Time Zones and Time Zone Data</a>.</li> 405Time Zones and Time Zone Data</a>.</li>
411<li>A ship within the <a 406<li>A ship within the <a
412href="http://en.wikipedia.org/wiki/Territorial_waters">territorial 407href="http://en.wikipedia.org/wiki/Territorial_waters">territorial
413waters</a> of any nation uses that nation's time. In international 408waters</a> of any nation uses that nation's time. In international
414waters, time zone boundaries are meridians 15&deg; apart, except that 409waters, time zone boundaries are meridians 15&deg; apart, except that
@@ -509,27 +504,27 @@ of Summer time dates. @@ -509,27 +504,27 @@ of Summer time dates.
509</dl> 504</dl>
510<h2>Precision timekeeping</h2> 505<h2>Precision timekeeping</h2>
511<ul> 506<ul>
512<li><a 507<li><a
513href="http://literature.agilent.com/litweb/pdf/5965-7984E.pdf">The 508href="http://literature.agilent.com/litweb/pdf/5965-7984E.pdf">The
514Science of Timekeeping</a> is a thorough introduction 509Science of Timekeeping</a> is a thorough introduction
515to the theory and practice of precision timekeeping.</li> 510to the theory and practice of precision timekeeping.</li>
516<li><a href="http://www.ntp.org/"><abbr 511<li><a href="http://www.ntp.org/"><abbr
517title="Network Time Protocol">NTP</abbr>: The Network 512title="Network Time Protocol">NTP</abbr>: The Network
518Time Protocol</a> 513Time Protocol</a>
519discusses how to synchronize clocks of 514discusses how to synchronize clocks of
520Internet hosts.</li> 515Internet hosts.</li>
521<li><a 516<li><a
522href="ftp://ftp.rfc-editor.org/in-notes/rfc4833.txt">Timezone 517href="http://tools.ietf.org/html/rfc4833">Timezone
523Options for <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr></a> 518Options for <abbr title="Dynamic Host Configuration Protocol">DHCP</abbr></a>
524(Internet <abbr>RFC</abbr> 4833) 519(Internet <abbr>RFC</abbr> 4833)
525specifies a <a 520specifies a <a
526href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">DHCP</a> 521href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">DHCP</a>
527option for a server to configure 522option for a server to configure
528a client's time zone and daylight saving settings automatically.</li> 523a client's time zone and daylight saving settings automatically.</li>
529<li><a href="http://gauss.gge.unb.ca/GMT.UT.and.the.RGO.html">A Few 524<li><a href="http://gauss.gge.unb.ca/GMT.UT.and.the.RGO.html">A Few
530Facts Concerning <abbr title="Greenwich Mean Time">GMT</abbr>, <abbr 525Facts Concerning <abbr title="Greenwich Mean Time">GMT</abbr>, <abbr
531title="Universal Time">UT</abbr>, and 526title="Universal Time">UT</abbr>, and
532the <abbr title="Royal Greenwich Observatory">RGO</abbr></a> 527the <abbr title="Royal Greenwich Observatory">RGO</abbr></a>
533answers questions like "What is the 528answers questions like "What is the
534difference between <abbr>GMT</abbr> and <abbr>UTC</abbr>?"</li> 529difference between <abbr>GMT</abbr> and <abbr>UTC</abbr>?"</li>
535<li><a 530<li><a
@@ -586,33 +581,33 @@ contentious issue. @@ -586,33 +581,33 @@ contentious issue.
586<a href="http://www.cl.cam.ac.uk/~mgk25/iso-time.html">A Summary of 581<a href="http://www.cl.cam.ac.uk/~mgk25/iso-time.html">A Summary of
587the International Standard Date and Time Notation</a> is a good 582the International Standard Date and Time Notation</a> is a good
588summary of 583summary of
589<a 584<a
590href="http://www.iso.org/iso/catalogue_detail?csnumber=40874"><abbr 585href="http://www.iso.org/iso/catalogue_detail?csnumber=40874"><abbr
591title="International Organization for Standardization">ISO</abbr> 586title="International Organization for Standardization">ISO</abbr>
5928601:2004 -- Data elements and interchange formats -- Information 5878601:2004 -- Data elements and interchange formats -- Information
593interchange -- Representation of dates and times</a>.</li> 588interchange -- Representation of dates and times</a>.</li>
594<li> 589<li>
595<a href="http://www.w3.org/TR/xmlschema-2/#dateTime"><abbr>XML</abbr> 590<a href="http://www.w3.org/TR/xmlschema-2/#dateTime"><abbr>XML</abbr>
596Schema: Datatypes - dateTime</a> specifies a format inspired by 591Schema: Datatypes - dateTime</a> specifies a format inspired by
597<abbr>ISO</abbr> 8601 that is in common use in XML data.</li> 592<abbr>ISO</abbr> 8601 that is in common use in XML data.</li>
598<li> 593<li>
599<a href="ftp://ftp.rfc-editor.org/in-notes/rfc2822.txt">Internet 594<a href="http://tools.ietf.org/html/rfc5322">Internet
600Message Format</a> (Internet <abbr>RFC</abbr> 2822) &sect;3.3 595Message Format</a> (Internet <abbr>RFC</abbr> 5322) &sect;3.3
601specifies the time notation used in email and <a 596specifies the time notation used in email and <a
602href="ftp://ftp.rfc-editor.org/in-notes/rfc2616.txt"><abbr>HTTP</abbr></a> 597href="http://tools.ietf.org/html/rfc2616"><abbr>HTTP</abbr></a>
603headers.</li> 598headers.</li>
604<li> 599<li>
605<a href="ftp://ftp.rfc-editor.org/in-notes/rfc3339.txt">Date and Time 600<a href="http://tools.ietf.org/html/rfc3339">Date and Time
606on the Internet: Timestamps</a> (Internet <abbr>RFC</abbr> 3339) 601on the Internet: Timestamps</a> (Internet <abbr>RFC</abbr> 3339)
607specifies an <abbr>ISO</abbr> 8601 602specifies an <abbr>ISO</abbr> 8601
608profile for use in new Internet 603profile for use in new Internet
609protocols.</li> 604protocols.</li>
610<li> 605<li>
611<a href="http://www.hackcraft.net/web/datetime/">Date &amp; Time 606<a href="http://www.hackcraft.net/web/datetime/">Date &amp; Time
612Formats on the Web</a> surveys web- and Internet-oriented date and time 607Formats on the Web</a> surveys web- and Internet-oriented date and time
613formats.</li> 608formats.</li>
614<li> 609<li>
615<a href="http://exit109.com/~ghealton/y2k/yrexamples.html">The 610<a href="http://exit109.com/~ghealton/y2k/yrexamples.html">The
616Best of Dates, the Worst of Dates</a> covers many problems encountered 611Best of Dates, the Worst of Dates</a> covers many problems encountered
617by software developers when handling dates and time stamps.</li> 612by software developers when handling dates and time stamps.</li>
618<li>The <a 613<li>The <a
@@ -650,15 +645,23 @@ any future changes to the rules. One sho @@ -650,15 +645,23 @@ any future changes to the rules. One sho
650<abbr>POSIX</abbr> <code>TZ</code> to a value like 645<abbr>POSIX</abbr> <code>TZ</code> to a value like
651<code>"GMT-9"</code>, though, since this would falsely claim that 646<code>"GMT-9"</code>, though, since this would falsely claim that
652local time is nine hours ahead of <abbr>UTC</abbr> and the time zone 647local time is nine hours ahead of <abbr>UTC</abbr> and the time zone
653is called "<abbr>GMT</abbr>".</li> 648is called "<abbr>GMT</abbr>".</li>
654</ul> 649</ul>
655<h2>Related indexes</h2> 650<h2>Related indexes</h2>
656<ul> 651<ul>
657<li><a href="tz-art.htm">Time and the Arts</a></li> 652<li><a href="tz-art.htm">Time and the Arts</a></li>
658<li><a href="http://www.dmoz.org/Reference/Time/">Open Directory - 653<li><a href="http://www.dmoz.org/Reference/Time/">Open Directory -
659Reference: Time</a></li> 654Reference: Time</a></li>
660<li><a href="http://dir.yahoo.com/Science/Measurements_and_Units/Time">Yahoo! 655<li><a href="http://dir.yahoo.com/Science/Measurements_and_Units/Time">Yahoo!
661Directory &gt; Science &gt; Measurements and Units &gt; Time</a></li> 656Directory &gt; Science &gt; Measurements and Units &gt; Time</a></li>
662</ul> 657</ul>
 658<hr>
 659<address>
 660This file is in the public domain, so clarified as of
 6612009-05-17 by Arthur David Olson.
 662<br>
 663Please send corrections to this web page to the
 664<a href="mailto:tz@iana.org">time zone mailing list</a>.
 665</address>
663</body> 666</body>
664</html> 667</html>