<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Examples</title><link>https://sourceforge.net/p/xml-holidays/wiki/Examples/</link><description>Recent changes to Examples</description><atom:link href="https://sourceforge.net/p/xml-holidays/wiki/Examples/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 04 Sep 2016 21:09:01 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xml-holidays/wiki/Examples/feed" rel="self" type="application/rss+xml"/><item><title>Examples modified by Johann N. Löfflmann</title><link>https://sourceforge.net/p/xml-holidays/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,4 +1,3 @@
-
 Examples
 ========

@@ -19,7 +18,7 @@

-Celebrated on a date which is dependent on Easter
+Celebrated on a date that is dependent on Easter
 -------------------------------------------------

 #### Example: two days before Easter Sunday ####
@@ -51,10 +50,10 @@

-Celebrated on a date that is dependent on the weekday
+Celebrated on a date that is dependent on a weekday
 -----------------------------------------------------

-#### Example: on October 12 with dependencies on the weekday ####
+#### Example: on October 12 with dependencies on a weekday ####

 In Argentina Columbus Day (Día de la Raza) is celebrated on October 12, but If the date falls on a Tuesday or Wednesday, the holiday is the preceding Monday. If it falls on a Thursday or a Friday then the holiday is the following Monday.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johann N. Löfflmann</dc:creator><pubDate>Sun, 04 Sep 2016 21:09:01 -0000</pubDate><guid>https://sourceforge.net8c2e1c2ad09da17a6b76b0442e44dc1079039118</guid></item><item><title>Examples modified by Johann N. Löfflmann</title><link>https://sourceforge.net/p/xml-holidays/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="examples"&gt;Examples&lt;/h1&gt;
&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#examples"&gt;Examples&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#celebrated-on-a-fixed-day"&gt;Celebrated on a fixed day&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-on-janary-1"&gt;Example: on Janary 1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#celebrated-on-a-date-which-is-dependent-on-easter"&gt;Celebrated on a date which is dependent on Easter&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-two-days-before-easter-sunday"&gt;Example: two days before Easter Sunday&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#celebrated-on-the-nth-weekday-in-a-particular-month"&gt;Celebrated on the nth weekday in a particular month&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-on-the-second-sunday-in-may"&gt;Example: on the second Sunday in May&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#celebrated-on-a-date-that-is-dependent-on-the-weekday"&gt;Celebrated on a date that is dependent on the weekday&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-on-october-12-with-dependencies-on-the-weekday"&gt;Example: on October 12 with dependencies on the weekday&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#celebrated-on-the-nth-weekday-in-a-particular-month-and-on-a-fixed-day-in-the-past"&gt;Celebrated on the nth weekday in a particular month and on a fixed day in the past&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-on-the-third-monday-in-february-and-on-february-22-until-1970"&gt;Example: on the third Monday in February and on February 22 until 1970&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#celebrated-on-a-particular-weekday-of-the-nth-full-week-of-a-particular-month"&gt;Celebrated on a particular weekday of the nth full week of a particular month&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-on-the-tuesday-of-the-first-full-week-of-may"&gt;Example: on the Tuesday of the first full week of May&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-on-the-wednesday-of-the-last-full-week-of-april"&gt;Example: on the Wednesday of the last full week of April&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#celebrated-on-a-particular-weekday-nearest-a-particular-date"&gt;Celebrated on a particular weekday nearest a particular date&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-on-monday-nearest-july-1st"&gt;Example: on Monday nearest July 1st&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#seasons-a-day-dependent-on-solstice-or-equinox"&gt;Seasons: a day dependent on Solstice or Equinox&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#example-the-solstice-in-june-in-germany"&gt;Example: the Solstice in June in Germany&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="celebrated-on-a-fixed-day"&gt;Celebrated on a fixed day&lt;/h2&gt;
&lt;h4 id="example-on-janary-1"&gt;Example: on Janary 1&lt;/h4&gt;
&lt;p&gt;The New Year's day is celebrated on January 1, each year. In other words, it is a fixed date.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"New Year's Day"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;fixed&lt;/span&gt; &lt;span class="na"&gt;day=&lt;/span&gt;&lt;span class="s"&gt;"1"&lt;/span&gt; &lt;span class="na"&gt;month=&lt;/span&gt;&lt;span class="s"&gt;"January"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="celebrated-on-a-date-which-is-dependent-on-easter"&gt;Celebrated on a date which is dependent on Easter&lt;/h2&gt;
&lt;h4 id="example-two-days-before-easter-sunday"&gt;Example: two days before Easter Sunday&lt;/h4&gt;
&lt;p&gt;Easter is celebrated always on a Sunday. Good Friday is celebrated two days before Easter. Simply use the easter tag first and subtract two days from it (add -2).&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"Good Friday"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;easter/&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;add&lt;/span&gt; &lt;span class="na"&gt;days=&lt;/span&gt;&lt;span class="s"&gt;"-2"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="celebrated-on-the-nth-weekday-in-a-particular-month"&gt;Celebrated on the nth weekday in a particular month&lt;/h2&gt;
&lt;h4 id="example-on-the-second-sunday-in-may"&gt;Example: on the second Sunday in May&lt;/h4&gt;
&lt;p&gt;In the US, Mother's Day is celebrated on the second Sunday in May. The holiday was declared officially by some states beginning in 1912.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="c"&gt;&amp;lt;!-- http://en.wikipedia.org/wiki/Mother%27s_Day --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"Mother's Day"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&lt;/span&gt; &lt;span class="na"&gt;firstyear=&lt;/span&gt;&lt;span class="s"&gt;"1912"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;rule&lt;/span&gt; &lt;span class="na"&gt;nth=&lt;/span&gt;&lt;span class="s"&gt;"2nd"&lt;/span&gt; &lt;span class="na"&gt;weekday=&lt;/span&gt;&lt;span class="s"&gt;"Sunday"&lt;/span&gt; &lt;span class="na"&gt;month=&lt;/span&gt;&lt;span class="s"&gt;"May"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="celebrated-on-a-date-that-is-dependent-on-the-weekday"&gt;Celebrated on a date that is dependent on the weekday&lt;/h2&gt;
&lt;h4 id="example-on-october-12-with-dependencies-on-the-weekday"&gt;Example: on October 12 with dependencies on the weekday&lt;/h4&gt;
&lt;p&gt;In Argentina Columbus Day (Día de la Raza) is celebrated on October 12, but If the date falls on a Tuesday or Wednesday, the holiday is the preceding Monday. If it falls on a Thursday or a Friday then the holiday is the following Monday.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"Día de la Raza"&lt;/span&gt; &lt;span class="na"&gt;international=&lt;/span&gt;&lt;span class="s"&gt;"Columbus Day"&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"public holiday"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&lt;/span&gt; &lt;span class="na"&gt;firstyear=&lt;/span&gt;&lt;span class="s"&gt;"1917"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;fixed&lt;/span&gt; &lt;span class="na"&gt;day=&lt;/span&gt;&lt;span class="s"&gt;"12"&lt;/span&gt; &lt;span class="na"&gt;month=&lt;/span&gt;&lt;span class="s"&gt;"October"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="c"&gt;&amp;lt;!--&lt;/span&gt;
&lt;span class="c"&gt;          If the date falls on a Tuesday or Wednesday,&lt;/span&gt;
&lt;span class="c"&gt;          the holiday is the preceding Monday.&lt;/span&gt;
&lt;span class="c"&gt;        --&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;add&lt;/span&gt; &lt;span class="na"&gt;days=&lt;/span&gt;&lt;span class="s"&gt;"-1"&lt;/span&gt; &lt;span class="na"&gt;ifweekday=&lt;/span&gt;&lt;span class="s"&gt;"Tuesday"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt; &lt;span class="c"&gt;&amp;lt;!-- can become the preceding Monday --&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;add&lt;/span&gt; &lt;span class="na"&gt;days=&lt;/span&gt;&lt;span class="s"&gt;"-2"&lt;/span&gt; &lt;span class="na"&gt;ifweekday=&lt;/span&gt;&lt;span class="s"&gt;"Wednesday"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt; &lt;span class="c"&gt;&amp;lt;!-- can become the preceding Monday --&amp;gt;&lt;/span&gt;
        &lt;span class="c"&gt;&amp;lt;!--&lt;/span&gt;
&lt;span class="c"&gt;          If it falls on a Thursday or a Friday then&lt;/span&gt;
&lt;span class="c"&gt;          the holiday is the following Monday.&lt;/span&gt;
&lt;span class="c"&gt;        --&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;add&lt;/span&gt; &lt;span class="na"&gt;days=&lt;/span&gt;&lt;span class="s"&gt;"+4"&lt;/span&gt; &lt;span class="na"&gt;ifweekday=&lt;/span&gt;&lt;span class="s"&gt;"Thursday"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt; &lt;span class="c"&gt;&amp;lt;!-- can become the following Monday --&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;add&lt;/span&gt; &lt;span class="na"&gt;days=&lt;/span&gt;&lt;span class="s"&gt;"+3"&lt;/span&gt; &lt;span class="na"&gt;ifweekday=&lt;/span&gt;&lt;span class="s"&gt;"Friday"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt; &lt;span class="c"&gt;&amp;lt;!-- can become the following Monday --&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="celebrated-on-the-nth-weekday-in-a-particular-month-and-on-a-fixed-day-in-the-past"&gt;Celebrated on the nth weekday in a particular month and on a fixed day in the past&lt;/h2&gt;
&lt;h4 id="example-on-the-third-monday-in-february-and-on-february-22-until-1970"&gt;Example: on the third Monday in February and on February 22 until 1970&lt;/h4&gt;
&lt;p&gt;As the first federal holiday to honor an American citizen, Washington's Birthday was celebrated on Washington's actual birthday, February 22. In 1971 it was shifted to the third Monday in February. You need two definition blocks in order to define the Washington's birthday holiday correctly.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="c"&gt;&amp;lt;!--&lt;/span&gt;
&lt;span class="c"&gt;  http://en.wikipedia.org/wiki/Washington%27s_Birthday&lt;/span&gt;
&lt;span class="c"&gt;  George Washington (February 22, 1732 – December 14, 1799)&lt;/span&gt;
&lt;span class="c"&gt; --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"Washington's Birthday (President's Day)"&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"federal holiday"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="c"&gt;&amp;lt;!-- Titled Washington's Birthday, the federal holiday was originally&lt;/span&gt;
&lt;span class="c"&gt;         implemented by the United States federal government in 1880 for&lt;/span&gt;
&lt;span class="c"&gt;         government offices in the District of Columbia (20 Stat. 277) and&lt;/span&gt;
&lt;span class="c"&gt;         expanded in 1885 to include all federal offices (23 Stat. 516). --&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&lt;/span&gt; &lt;span class="na"&gt;firstyear=&lt;/span&gt;&lt;span class="s"&gt;"1885"&lt;/span&gt; &lt;span class="na"&gt;lastyear=&lt;/span&gt;&lt;span class="s"&gt;"1970"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;fixed&lt;/span&gt; &lt;span class="na"&gt;day=&lt;/span&gt;&lt;span class="s"&gt;"22"&lt;/span&gt; &lt;span class="na"&gt;month=&lt;/span&gt;&lt;span class="s"&gt;"February"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
    &lt;span class="c"&gt;&amp;lt;!-- On January 1, 1971 the federal holiday was shifted to the third&lt;/span&gt;
&lt;span class="c"&gt;         Monday in February by the Uniform Monday Holiday Act. --&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&lt;/span&gt; &lt;span class="na"&gt;firstyear=&lt;/span&gt;&lt;span class="s"&gt;"1971"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;rule&lt;/span&gt; &lt;span class="na"&gt;nth=&lt;/span&gt;&lt;span class="s"&gt;"3rd"&lt;/span&gt; &lt;span class="na"&gt;weekday=&lt;/span&gt;&lt;span class="s"&gt;"Monday"&lt;/span&gt; &lt;span class="na"&gt;month=&lt;/span&gt;&lt;span class="s"&gt;"February"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="celebrated-on-a-particular-weekday-of-the-nth-full-week-of-a-particular-month"&gt;Celebrated on a particular weekday of the nth full week of a particular month&lt;/h2&gt;
&lt;h4 id="example-on-the-tuesday-of-the-first-full-week-of-may"&gt;Example: on the Tuesday of the first full week of May&lt;/h4&gt;
&lt;p&gt;Since 1986 the National Teacher Day is celebrated on Tuesday of the first full week of May. In the US, the week begins with Sunday, therefore the first full week begins with the first Sunday in May. If you add two days, you get Tuesday.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="c"&gt;&amp;lt;!-- http://www.nea.org/teacherday/index.html --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"National Teacher Day"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="c"&gt;&amp;lt;!-- ... --&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&lt;/span&gt; &lt;span class="na"&gt;firstyear=&lt;/span&gt;&lt;span class="s"&gt;"1986"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;rule&lt;/span&gt; &lt;span class="na"&gt;nth=&lt;/span&gt;&lt;span class="s"&gt;"1st"&lt;/span&gt; &lt;span class="na"&gt;weekday=&lt;/span&gt;&lt;span class="s"&gt;"Sunday"&lt;/span&gt; &lt;span class="na"&gt;month=&lt;/span&gt;&lt;span class="s"&gt;"May"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;add&lt;/span&gt; &lt;span class="na"&gt;days=&lt;/span&gt;&lt;span class="s"&gt;"+2"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt; &lt;span class="c"&gt;&amp;lt;!-- will become Tuesday --&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id="example-on-the-wednesday-of-the-last-full-week-of-april"&gt;Example: on the Wednesday of the last full week of April&lt;/h4&gt;
&lt;p&gt;The National Secretaries Day is observed on the Wednesday of the last full week of April. In the US, the week begins with Sunday and it ends with Saturday. The last full week is therefore the week which ends with Saturday (the last Saturday in April). In order to get the Wednesday of the last full week of April, simply subtract three days.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"National Secretaries Day"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="c"&gt;&amp;lt;!-- ... --&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&lt;/span&gt; &lt;span class="na"&gt;firstyear=&lt;/span&gt;&lt;span class="s"&gt;"1955"&lt;/span&gt; &lt;span class="na"&gt;lastyear=&lt;/span&gt;&lt;span class="s"&gt;"1980"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;rule&lt;/span&gt; &lt;span class="na"&gt;nth=&lt;/span&gt;&lt;span class="s"&gt;"Last"&lt;/span&gt; &lt;span class="na"&gt;weekday=&lt;/span&gt;&lt;span class="s"&gt;"Saturday"&lt;/span&gt; &lt;span class="na"&gt;month=&lt;/span&gt;&lt;span class="s"&gt;"April"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;add&lt;/span&gt; &lt;span class="na"&gt;days=&lt;/span&gt;&lt;span class="s"&gt;"-3"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt; &lt;span class="c"&gt;&amp;lt;!-- this is Wednesday --&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="celebrated-on-a-particular-weekday-nearest-a-particular-date"&gt;Celebrated on a particular weekday nearest a particular date&lt;/h2&gt;
&lt;h4 id="example-on-monday-nearest-july-1st"&gt;Example: on Monday nearest July 1st&lt;/h4&gt;
&lt;p&gt;In the Canadian provinces Newfoundland and Labrador, the Memorial Day is observed on the Monday nearest July 1st. Set the fixed date (July 1) and use the goto-direction called "nearest". The definition:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"Memorial Day"&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"Newfoundland and Labrador"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&amp;gt;&lt;/span&gt;
        &lt;span class="c"&gt;&amp;lt;!-- it is celebrated on the Monday nearest July 1st --&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;fixed&lt;/span&gt; &lt;span class="na"&gt;day=&lt;/span&gt;&lt;span class="s"&gt;"1"&lt;/span&gt; &lt;span class="na"&gt;month=&lt;/span&gt;&lt;span class="s"&gt;"July"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;goto&lt;/span&gt; &lt;span class="na"&gt;weekday=&lt;/span&gt;&lt;span class="s"&gt;"Monday"&lt;/span&gt; &lt;span class="na"&gt;direction=&lt;/span&gt;&lt;span class="s"&gt;"nearest"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h2 id="seasons-a-day-dependent-on-solstice-or-equinox"&gt;Seasons: a day dependent on Solstice or Equinox&lt;/h2&gt;
&lt;h4 id="example-the-solstice-in-june-in-germany"&gt;Example: the Solstice in June in Germany&lt;/h4&gt;
&lt;p&gt;In June 2008 the Solstice was on June 20 at 23:59 UTC all over the world (24 h system). This was the begin of summer for people living in the northern hemisphere and it was the start of winter for people living in the southern hemisphere. In Germany's caldendars, you find June 21, 2008 for the Solstice. This is because of the timezone difference of 2 hours from UTC. For the Europe/Berlin timezone the actual Solstice was on June 21, 2008 at 1:59 (24 h system). As the actual day of the Solstice (or Equinox) is dependent on the timezone in a country, you can specify it with the parameter called timezone.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;holiday&lt;/span&gt; &lt;span class="na"&gt;name=&lt;/span&gt;&lt;span class="s"&gt;"Sommeranfang (Sommersonnenwende)"&lt;/span&gt; &lt;span class="na"&gt;international=&lt;/span&gt;&lt;span class="s"&gt;"Solstice June"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;definition&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;solstice&lt;/span&gt; &lt;span class="na"&gt;type=&lt;/span&gt;&lt;span class="s"&gt;"June"&lt;/span&gt; &lt;span class="na"&gt;timezone=&lt;/span&gt;&lt;span class="s"&gt;"Europe/Berlin"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/definition&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/holiday&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johann N. Löfflmann</dc:creator><pubDate>Sun, 04 Jan 2015 20:05:23 -0000</pubDate><guid>https://sourceforge.netcff95bf8bf77f66b554f7e47ca855f474806c7a1</guid></item></channel></rss>