title: Create a recurring event that repeats Monthly on the third Tuesday
body: <p>Using <a href="https://developers.google.com/apps-script/reference/calendar/" rel="nofollow noreferrer">Google Apps Script Calendar Service</a> (not the <a href="https://developers.google.com/apps-script/advanced/calendar" rel="nofollow noreferrer">Calendar API Advanced Service</a>) is it possible to create a recurring event that repeats monthly by the day of week? For example, the first event in the series is Tuesday, March 21st. I want this event to repeat monthly on the third Tuesday of the month. The closest I could get to accomplishing this is below:</p>
  
  <pre><code>var recurrence = CalendarApp.newRecurrence();
  recurrence = recurrence.addMonthlyRule()
      .interval(this.repeatMonths)
      .onlyOnWeekday(CalendarApp.Weekday[dayOfWeek]);
  </code></pre>
  
  <p>Does anyone know of a way to do this?</p>