<div dir="ltr">I&#39;d be perfectly happy with declaring them obsolete, but I may not have the experience of others in terms of when they&#39;re useful. I wouldn&#39;t want to urge the removal of something that turns out to be crucial - although as you say, the feature doesn&#39;t work everywhere anyway.<div><br></div><div>For finite rules, the years in which they&#39;re valid can easily be expanded (possibly at the cost of readability).</div><div><br></div><div>Looking back a bit further, back in the <i>early</i> 90s the Adelaide zone ended up with rules like this:</div><div><br></div><div><div>Rule<span class="" style="white-space:pre">        </span>AS<span class="" style="white-space:pre">        </span>1987<span class="" style="white-space:pre">        </span>max<span class="" style="white-space:pre">        </span>-<span class="" style="white-space:pre">        </span>Oct<span class="" style="white-space:pre">        </span>lastSun<span class="" style="white-space:pre">        </span>2:00<span class="" style="white-space:pre">        </span>1:00<span class="" style="white-space:pre">        </span>-</div><div>Rule<span class="" style="white-space:pre">        </span>AS<span class="" style="white-space:pre">        </span>1990<span class="" style="white-space:pre">        </span>max<span class="" style="white-space:pre">        </span>even<span class="" style="white-space:pre">        </span>Mar<span class="" style="white-space:pre">        </span>Sun&gt;=22<span class="" style="white-space:pre">        </span>3:00<span class="" style="white-space:pre">        </span>0<span class="" style="white-space:pre">        </span>-<br></div><div>Rule<span class="" style="white-space:pre">        </span>AS<span class="" style="white-space:pre">        </span>1990<span class="" style="white-space:pre">        </span>max<span class="" style="white-space:pre">        </span>odd<span class="" style="white-space:pre">        </span>Mar<span class="" style="white-space:pre">        </span>Sun&gt;=1<span class="" style="white-space:pre">        </span>3:00<span class="" style="white-space:pre">        </span>0<span class="" style="white-space:pre">        </span>-</div></div><div><br></div><div>From a purely selfish point of view, that&#39;s a nightmare for Noda Time - both in terms of having infinite year-type-based rules, and having 3 infinite rules rather than 2 to start with. We may well be best off hoping that no governments come up with such annoying rules in the future, but it&#39;s probably worth thinking about.</div><div><br></div><div>(I would have raised this case before, but I hadn&#39;t spotted it then. It was only after implementing finite even/odd rules in Noda Time that I found it wasn&#39;t enough.)</div><div><br></div><div>Jon</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 July 2015 at 23:02, Paul Eggert <span dir="ltr">&lt;<a href="mailto:eggert@cs.ucla.edu" target="_blank">eggert@cs.ucla.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Jon Skeet wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
in Noda Time I could probably support non-infinite rules with a fixed<br>
set of types (hopefully just odd and even), but it would be a bit of work.<br>
If type values are effectively obsolete, I may not bother.<br>
</blockquote>
<br></span>
As far as I know, these haven&#39;t been used for some time in tzdata.  They do not work with Fedora 21 port of zic, or with Ubuntu 15.04&#39;s port, because Fedora and Ubuntu do not install the &#39;yearistype&#39; command.  They mostly work in Solaris, but only because Solaris modifies zic.c by hardcoding the special values &quot;even&quot;, &quot;odd&quot;, &quot;uspres&quot; and &quot;nonpres&quot;.<br>
<br>
If we wanted to support these values portably, I imagine we&#39;d have to implement them the Solaris way.  Instead, how about if we document them as obsolescent, as in the attached proposed patch?  We needn&#39;t change the implementation, so that the obsolete usage should continue to work on whatever platforms install yearistype.<br>
</blockquote></div><br></div>