<br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 1:34 PM, Bill Seymour <span dir="ltr"><<a href="mailto:stdbill.h@pobox.com">stdbill.h@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Fri, Jul 2, 2010 at 2:42 PM, Yves Goergen<br>
<div class="im"><<a href="mailto:nospam.list@unclassified.de">nospam.list@unclassified.de</a>> wrote:<br>
</div><div class="im">> On 02.07.2010 20:21 CE(S)T, Bill Seymour wrote:<br>
>> Attached is my understanding of the format of the binaries.<br>
><br>
> Ehm, where's the time zone name? Does the binary file only contain a<br>
> single time zone?<br>
<br>
</div>Yes, and the time zone name is the file name. The '/' characters<br>
in the time zone name are Unix directory separators. My understanding<br>
is that the directory where all the tz binaries reside can be found in<br>
some environment variable...I'm not sure which one, but I imagine<br>
others can tell you.<br>
<br>
In that directory, there will be, for example, a subdirectory named<br>
"Pacific", and in that subdirectory, there will be a file named<br>
"Honolulu". That's the time zone binary for Hawaii.<br>
<br>
If a time zone name has three elements, that just indicates<br>
another level of subdirectories. For example, America has<br>
four subdirectories, Argentina, Indiana, Kentucky, and<br>
North_Dakota. North_Dakota contains two files, Center<br>
and New_Salem.<br>
<br>
TZ gurus: did I get all that right?<br>
<br></blockquote><div><br>Yes - that is the basic structure as I understand it.<br><br>The scheme is analogous to the scheme adopted by terminfo for terminals, and similar hierarchical schemes are used in CPAN (Comprehensive Perl Archive Network) and other places too. <br>
</div></div><br><br>-- <br>Jonathan Leffler <<a href="mailto:jonathan.leffler@gmail.com">jonathan.leffler@gmail.com</a>> #include <disclaimer.h><br>Guardian of DBD::Informix - v2008.0513 - <a href="http://dbi.perl.org">http://dbi.perl.org</a><br>
"Blessed are we who can laugh at ourselves, for we shall never cease to be amused."<br>