title: Calendar recurrent rule - Consecutive days: Every First and third Friday and Saturday
body: <p>In Google Calendar, using <code>rrule</code>, I want to make recurrent events for two <strong>consecutive days</strong>:</p>
  <ul>
  <li>Friday and Saturday</li>
  <li>Twice a month with 2 weeks apart</li>
  </ul>
  <p>What I would expect to match my requirement is any of the 2 options below:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: center;">Possible option</th>
  <th style="text-align: center;">1st match</th>
  <th style="text-align: center;">2nd match</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: center;">1</td>
  <td style="text-align: center;">fri 30 - sat 1</td>
  <td style="text-align: center;">fri 14 - sat 15</td>
  </tr>
  <tr>
  <td style="text-align: center;">2</td>
  <td style="text-align: center;">fri 7 - sat 8</td>
  <td style="text-align: center;">fri 21 - sat 22</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>The below config shows what I have tried and the screenshot shows the outcome which is certainly not what I want.</p>
  <p>The tricky part I believe is when the two days belong to 2 different moths. Luckily I noticed this since it was the case this May.</p>
  <p>Any idea how to solve this?</p>
  <pre><code>BEGIN:VCALENDAR
  VERSION:2.0
  
  BEGIN:VEVENT
  RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=FR;BYSETPOS=1
  SUMMARY:EventDay1
  DTSTART;VALUE=DATE:20210501
  SEQUENCE:0
  DESCRIPTION:EventDay1
  END:VEVENT
  BEGIN:VEVENT
  RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=FR;BYSETPOS=3
  SUMMARY:EventDay1
  DTSTART;VALUE=DATE:20210501
  SEQUENCE:0
  DESCRIPTION:EventDay1
  END:VEVENT
  
  BEGIN:VEVENT
  RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=SA;BYSETPOS=1
  SUMMARY:EventDay2
  DTSTART;VALUE=DATE:20210501
  SEQUENCE:0
  DESCRIPTION:EventDay2
  END:VEVENT
  BEGIN:VEVENT
  RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=SA;BYSETPOS=3
  SUMMARY:EventDay2
  DTSTART;VALUE=DATE:20210501
  SEQUENCE:0
  DESCRIPTION:EventDay2
  END:VEVENT
  
  END:VCALENDAR
  </code></pre>
  <p><a href="https://i.stack.imgur.com/VOdF9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VOdF9.png" alt="enter image description here" /></a></p>