<p dir="ltr">Yes, 2016 has been a bit of an exception, since DST is only being observed in the ~3.5 months after Ramadan (although we lack an exact end date), and not in the ~1.5 months before.</p>
<p dir="ltr">Although there&#39;s no official word, it seems somewhat logical that this trend might actually continue in the short-term (e.g., 2017–2019), but what will happen after that (e.g., beginning in 2039) is anyone&#39;s guess. Of two potential DST periods on either side of a given year&#39;s Ramadan, which one might be observed? The longer of the two? Both if they&#39;re of sufficiently equal length? Given Ramadan is formally observed and not calculated, how would this be determined? I suspect these questions remain unanswered or even unposed by those currently making policy. </p>
<p dir="ltr">For now, we have to go with what we can surmise not just from how Egypt is handling DST in 2016, but also how DST was handled in recent years like 2014 and 2010.</p>
<p dir="ltr">Dave: I will add that if you are only seeing two transitions in Egypt for 2017–2019 and 2039–2051 with your Perl parser, that is a bug. With 2016e, you should be seeing four transitions in those years.</p>
<p dir="ltr">--<br>
Tim Parenti<br>
sent from my Android phone</p>
<div class="gmail_quote">On 16 Jun 2016 11:46, &quot;Frank Bean&quot; &lt;<a href="mailto:macbean@gmail.com">macbean@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Just to point out.  Egypt was not observing dst when Ramadan started.  While phones and computers changed, along with international flight schedules, the official time was still just +2.</p>
<div class="gmail_quote">On Jun 16, 2016 5:31 PM, &quot;Tim Parenti&quot; &lt;<a href="mailto:tim@timtimeonline.com" target="_blank">tim@timtimeonline.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I&#39;m only counting four transitions per year in your output (eight lines) and, yes, this is expected.</p>
<p dir="ltr">This year, Ramadan is approximately 5 June to 5 July. Because it moves forward ~11 days per year, as it moves earlier in the spring in 2017 through 2019, it remains wholly within our predicted DST period from late-April through late-October. Since Egypt has tended to suspend DST for Ramadan in the past, this nominally requires four clock changes per year: one to spring forward, one to suspend for Ramadan, one to return after Ramadan, and one to fall back. </p>
<p dir="ltr">In 2020–2022, Ramadan does not overlap in this way, and so DST is simply delayed by a few weeks until after Ramadan, then in mid-spring, ends. Our six-month predicted DST period is then unaffected by Ramadan for several years as it moves through the winter months, before it is impinged upon once again. In 2036–2038, it merely advances the end date by a few weeks while Ramadan is in mid-autumn, but as it progresses forward, beginning in 2039, it is once again wholly within the late-April to late-October period, and four transitions once again become necessary to reflect Egypt&#39;s past practices. </p>
<p dir="ltr">Note that, just after tzdata 2016e was released a discussion was started as to whether Egypt will actually observe all four transitions in years such as 2017–2019 and 2039–2051, or whether they will choose to observe it only on one side of the holy month or the other:<br>
<a href="http://mm.icann.org/pipermail/tz/2016-June/023801.html" target="_blank">http://mm.icann.org/pipermail/tz/2016-June/023801.html</a></p>
<p dir="ltr">We don&#39;t yet know anything for sure about how this will be handled, though… so from historical evidence, this remains our best guess for now.</p>
<p dir="ltr">--<br>
Tim Parenti<br>
sent from my Android phone</p>
<div class="gmail_quote">On 16 Jun 2016 10:53, &quot;Dave Rolsky&quot; &lt;<a href="mailto:autarch@urth.org" target="_blank">autarch@urth.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 16 Jun 2016, Dave Rolsky wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Here&#39;s a snippet of &quot;zdump -v Africa/Cairo&quot; with the latest changes:<br>
</blockquote>
<br>
I then realized I hadn&#39;t installed the latest tzcode. However, even with the latest version I still see 3 changes per year in Africa/Cairo starting in 2039.<br>
<br>
Is that really what&#39;s intended?<br>
<br>
<br>
Cheers,<br>
<br>
-dave<br>
<br>
/*============================================================<br>
<a href="http://VegGuide.org" rel="noreferrer" target="_blank">http://VegGuide.org</a>               <a href="http://blog.urth.org" rel="noreferrer" target="_blank">http://blog.urth.org</a><br>
Your guide to all that&#39;s veg      House Absolute(ly Pointless)<br>
============================================================*/<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>