title: Android, calendar, adding RRULE to event never works
body: <p>I'm following <a href="https://www.rfc-editor.org/rfc/rfc2445" rel="nofollow noreferrer">rfc2445</a> spec and insert a recurrent event to cal, but always get invalid recurrence error.</p>
  <p><code>Invalid recurrence rule: RRULE:FREQ=WEEKLY;UNTIL=20141007T000000Z;WKST=SU;BYDAY=TU,TH</code></p>
  <p>This is my code, note I return the above constant rrule string to make sure I don't violate the specs, I just change the year from 1997 to 2014. Any idea why it doesn't work? thanks</p>
  <pre><code>ContentResolver cr = getContentResolver();
          ContentValues values = new ContentValues();
          values.put(CalendarContract.Events.DTSTART, model.getStartTime().toMillis(false));
          values.put(CalendarContract.Events.DTEND, model.getEndTime().toMillis(false));
          values.put(CalendarContract.Events.EVENT_TIMEZONE, timezone);
          values.put(CalendarContract.Events.TITLE, model.getTitle());
          values.put(CalendarContract.Events.EVENT_LOCATION, model.getLocation().getName());
          values.put(CalendarContract.Events.DESCRIPTION, model.getDescription());
          values.put(CalendarContract.Events.CALENDAR_ID, calId);
          String recurString =&quot;RRULE:FREQ=WEEKLY;UNTIL=20141007T000000Z;WKST=SU;BYDAY=TU,TH&quot;
          
          values.put(CalendarContract.Events.RRULE, recurString);
          
         
          Uri uri = cr.insert(CalendarContract.Events.CONTENT_URI, values);
  </code></pre>