<br><div class="gmail_quote">On Dec 10, 2007 6:54 AM, Olson, Arthur David (NIH/NCI) [E] &lt;<a href="mailto:olsona@dc37a.nci.nih.gov">olsona@dc37a.nci.nih.gov</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is indeed historical; the tzh_tisgmtcnt and tzh_ttisstdcnt header fields (and associated variables) were introduced in 1995 to allow European time zones to be used as time zone templates, and the software had to be set up to handle older files from which the information was absent (and in which the header fields were zero).
<br></blockquote><div><br>Thanks for confirmation of this.<br>Should I submit a patch to tzfile.5 to document this?<br>&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
From: Jonathan Leffler [mailto:<a href="mailto:jonathan.leffler@gmail.com">jonathan.leffler@gmail.com</a>]<br>Sent: Monday, December 10, 2007 1:20<br><br><div><div class="Wj3C7c">In tzfile.5.txt, it says:<br><br>tzh_ttisgmtcnt
<br>&nbsp;The number of UTC/local indicators stored in the file.<br><br>tzh_ttisstdcnt<br>&nbsp;The number of standard/wall indicators stored in the file.<br>...<br>tzh_typecnt<br>&nbsp;The number of &quot;local time types&quot; for which data is stored in the file (must not be zero).
<br><br>Empirically, in the tzdata2007h and tzdataj data sets, the values of tzh_ttisgmtcnt, tzh_ttisstdcnt and tzh_typecnt are always identical.<br><br>Under what circumstances are there any differences in the three values?&nbsp; [...]
<br>If the answer is &quot;there isn&#39;t any difference any more, but historically, there was a transition period when they weren&#39;t all present and the stdcnt and gmtcnt were sometimes zero back then&quot;, then I can live with that as a satisfactory enough explanation.
<br></div></div></blockquote></div><br clear="all"><br>-- <br>Jonathan Leffler &lt;<a href="mailto:jonathan.leffler@gmail.com">jonathan.leffler@gmail.com</a>&gt; &nbsp;#include &lt;disclaimer.h&gt;<br>Guardian of DBD::Informix - 
v2007.0914 - <a href="http://dbi.perl.org">http://dbi.perl.org</a><br>&quot;Blessed are we who can laugh at ourselves, for we shall never cease to be amused.&quot;