<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>There is also the original issue of %s
being null in 1943. This seems to be a bug. But maybe not. I&#8217;m unable from the
documents I&#8217;ve seen to determine the intended behavior. <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>None the less, it seems obvious to me that
either both the time resulting from the transition and the letter carry forward
or neither one does. Have one but not the other carry forward seems
nonsensical.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp; ++PLS<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
tz-request@elsie.nci.nih.gov [mailto:tz-request@elsie.nci.nih.gov] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Mark Davis<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 27,
2006 4:14 PM<br>
<b><span style='font-weight:bold'>To:</span></b> tz@lecserver.nci.nih.gov<br>
<b><span style='font-weight:bold'>Cc:</span></b> tz@lecserver.nci.nih.gov<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Question on
abbreviations</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>My reading of the
specification (zic.8.txt) was that the first rule mentioned was operative
during the interval from 1942 to &quot;only&quot;, that is, during 1942 alone.
This was by my reading of:<o:p></o:p></span></font></p>

<pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp; TO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Gives the final year in which the rule applies.&nbsp; In<o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; addition to minimum and maximum (as above), the word<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; only (or an abbreviation) may be used to repeat the<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value of the FROM field.<o:p></o:p></span></font></pre>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>While it was explained to
me what the actual code does, I don't think this is reflected in the above text
-- or at least, not at all clearly. According to this text, if I saw the
following: <br>
<br>
Rule&nbsp;&nbsp;&nbsp;&nbsp;US&nbsp;&nbsp;&nbsp;&nbsp;1942&nbsp;&nbsp;&nbsp;
1944 &nbsp;&nbsp;
-&nbsp;&nbsp;&nbsp;&nbsp;Feb&nbsp;&nbsp;&nbsp;&nbsp;9&nbsp;&nbsp;&nbsp;&nbsp;2:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1:00&nbsp;&nbsp;&nbsp;&nbsp;W
# War<br>
<br>
The rule should not apply in 1945. So I request that the text be fixed, because
the rule clearly, according to the explanations given on this thread, applies
*afterwards* (and the circumstances in which it applies need to be clearly
specified. Is it until the next Rule that has an SAVE value with the same SAVE
value as this Rule? Until the next Rule that has a SAVE value?... <br>
<br>
mark<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 9/27/06, <b><span style='font-weight:bold'>Paul
Schauble</span></b> &lt;<a href="mailto:Paul.Schauble@ticketmaster.com">Paul.Schauble@ticketmaster.com</a>&gt;
wrote:</span></font></span><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>So in this case:<br>
Rule&nbsp;&nbsp;&nbsp;&nbsp;US&nbsp;&nbsp;&nbsp;&nbsp;1942&nbsp;&nbsp;&nbsp;&nbsp;only&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;Feb&nbsp;&nbsp;&nbsp;&nbsp;9&nbsp;&nbsp;&nbsp;&nbsp;2:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1:00&nbsp;&nbsp;&nbsp;&nbsp;W
# War<br>
Rule&nbsp;&nbsp;&nbsp;&nbsp;US&nbsp;&nbsp;&nbsp;&nbsp;1945&nbsp;&nbsp;&nbsp;&nbsp;only&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;Aug&nbsp;&nbsp;&nbsp;&nbsp;14&nbsp;&nbsp;
23:00u&nbsp;&nbsp;&nbsp;&nbsp;1:00&nbsp;&nbsp;&nbsp;&nbsp;P #<br>
Peace<br>
<br>
Why is %s undefined in 1943? This was the question that started the <br>
thread. If the time setting carries forward, surely the letter should<br>
also.<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;++PLS<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:tz-request@elsie.nci.nih.gov">tz-request@elsie.nci.nih.gov
</a>[mailto:<a href="mailto:tz-request@elsie.nci.nih.gov">tz-request@elsie.nci.nih.gov</a>]<br>
On Behalf Of Ken Pizzini<br>
Sent: Wednesday, September 27, 2006 3:14 PM<br>
To: <a href="mailto:tz@lecserver.nci.nih.gov">tz@lecserver.nci.nih.gov </a><br>
Subject: Re: Question on abbreviations<br>
<br>
On Wed, Sep 27, 2006 at 02:37:58PM -0700, Mark Davis wrote:<br>
&gt; I share your confusion. If Paul (Eggert's) description is right, then<br>
I have<br>
&gt; to ignore the TO field in some circumstances which are entirely <br>
unclear to<br>
&gt; me. I would much rather see the TO field corrected. That is, if<br>
TO=1942 is<br>
&gt; ignored, and 1945 is the real date, then the line should be corrected<br>
to<br>
&gt; TO=1945.<br>
<br>
The key to understanding is that the rules describe a list of <br>
*transitions*.<br>
<br>
After a transition, the described effect on zone offset and abbreviation<br>
*remain* in effect until the next transition.&nbsp;&nbsp;The &quot;TO&quot;
part of a rule<br>
is<br>
used to enable a shorthand for a _recurring_ transition, such as &quot;first <br>
Tuesday of February&quot;, for all years within the range.&nbsp;&nbsp;If
&quot;to&quot; is<br>
&quot;only&quot;, then the *transition* being documented is a singleton, but<br>
the transitioned-into offset/abbreviation remains in effect until the <br>
_next_ transition, no matter how far in the future.<br>
<br>
<br>
&gt; There are other failures in the parsing. My error messages are:<br>
...<br>
&gt; I looked into why this is happening, and found:<br>
&gt;<br>
&gt; Zone Europe/Amsterdam&nbsp;&nbsp;&nbsp;&nbsp;0:19:32
-&nbsp;&nbsp;&nbsp;&nbsp;LMT&nbsp;&nbsp;&nbsp;&nbsp;1835 <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0:19:32&nbsp;&nbsp;&nbsp;&nbsp;Neth&nbsp;&nbsp;&nbsp;&nbsp;%s&nbsp;&nbsp;&nbsp;&nbsp;1937
Jul&nbsp;&nbsp;1<br>
<br>
&gt; But the first LETTER/S defined by Neth is in 1916, so during the range<br>
from<br>
&gt; 1835 to 1916 this is undefined. If the LETTER/S are magically also <br>
defined<br>
&gt; *before* the first FROM, that should be described in the<br>
specification.<br>
<br>
Yes, this is a failure of the documentation.&nbsp;&nbsp;If a Zone refers to a
time<br>
within a Rule that is before the first transition mentioned for that <br>
rule,<br>
then the _oldest_standard_time_ &quot;Letter/s&quot; is used.&nbsp;&nbsp;In
this case, AMT.<br>
<br>
<br>
<br>
&gt; BTW, the documentation was a first a bit confusing to me, since it<br>
says that<br>
&gt; fields are delimited by spaces, and lists a single Zone UNTIL field. <br>
&gt; However, if you look carefully at the documentation, there are really<br>
4<br>
&gt; fields:<br>
&gt;<br>
&gt; UNTIL_YEAR UNTIL_IN UNTIL_ON UNTIL_AT<br>
&gt;<br>
&gt; which are optional [but only in &quot;truncation&quot; from the end: that
is, it <br>
&gt; corresponds to the (Perl) regex (UNTIL_YEAR (UNTIL_IN (UNTIL_ON<br>
&gt; (UNTIL_AT)?)?)?)?].<br>
&gt;<br>
&gt; I'm not the only one to have initially made this mistake: the proposed<br>
XML<br>
&gt; format for the TZ database makes the same mistake. <br>
<br>
Confusing: granted.&nbsp;&nbsp;Whether &quot;Until&quot; is one or multiple
fields is a<br>
matter of interpretation.&nbsp;&nbsp;The _traditional_ understanding is that it<br>
is a *single* &quot;timestamp field&quot; which may happen to have spaces
within <br>
it.&nbsp;&nbsp;BTW the subfields aren't &quot;YEAR IN ON AT&quot;, but
&quot;YEAR MONTH DAY<br>
TIME&quot;.<br>
<br>
In this regard, a recent addition to the tzcode tarball is<br>
zoneinfo2tdf.pl,<br>
which translates the more free-with-spaces zone tzdata into a form which <br>
strictly uses a single tab between fields.&nbsp;&nbsp;This may make life easier<br>
for some by simplifying their parser's requirements.&nbsp;&nbsp;(Or not.)<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--Ken
Pizzini<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>