<div dir="ltr"><div><div>Unfortunately, it seems your example doesn't match observed behavior.  Consider:<br><br><span style="font-family:courier new,monospace">Zone    Test/Transition1970 2:00    -   XST 1970 Jan  1  0:00u<br>            3:00    -   YST</span><br><br><a href="https://github.com/eggert/tz/commit/8973320770f676c249229c5c4ca402057e7ec098">https://github.com/eggert/tz/commit/8973320770f676c249229c5c4ca402057e7ec098</a> says "a <i>loyear</i> of 1970 includes a transition occurring at the very start of 1970 but a <i>hiyear</i> of 1970 excludes the transition."  The opposite behavior is observed:<br><br><span style="font-family:courier new,monospace">$ ./zdump.exe -Vc 1969,1970 Test/Transition1970<br>Test/Transition1970  Wed Dec 31 23:59:59 1969 UT = Thu Jan  1 01:59:59 1970 YST isdst=0<br>Test/Transition1970  Thu Jan  1 00:00:00 1970 UT = Thu Jan  1 03:00:00 1970 YST isdst=0<br>$ ./zdump.exe -Vc 1970,1971 Test/Transition1970</span><br><br></div>If the transition is one second later, the behavior matches the description.  Currently zdump is inclusive then exclusive at a year-level, but exclusive then inclusive at a second-level.  This is why I described the current behavior as "inclusive of the start year except exclusive of its first instant, and 
exclusive of the end year except inclusive of its first instant".  Since this wording is quite awkward, it may be simpler to adjust the code to match the description you provided.<br><br></div>I also just noticed, above, that zdump returns "YST" for both timepoints in the transition above, when this should be a transition from XST to YST.  It seems that's another (related?) issue.<br><div><div><div class="gmail_extra"><br clear="all"><div>--<br>Tim Parenti<br></div>
<br><div class="gmail_quote">On 8 September 2014 15:28, Paul Eggert <span dir="ltr"><<a href="mailto:eggert@cs.ucla.edu" target="_blank">eggert@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On 09/08/2014 11:55 AM, Tim Parenti wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
we should at least include that in the docs<br>
</blockquote>
<br></span>
Thanks, good point, and attached is a proposed patch to do that.<br>
</blockquote></div><br></div></div></div></div>