问题
I can't seem to figure out a way how to read recurrence settings of an CalendarEventSeries
using Google Apps Script.
There is a setRecurrence method; I am looking for something like getRecurrence
hoping it would return an EventRecurrence object representing the recurrence settings of an EventSeries.
Any ideas?
Why do I need this? I simply want to copy an event from one calendar to another, keeping the recurrence settings (if any).
回答1:
Try using the Calendar API instead of the builtin calendar library. The API exposes much more information.
https://developers.google.com/google-apps/calendar/v3/reference/events/instances
来源:https://stackoverflow.com/questions/32770235/how-to-read-calendar-event-recurrence-settings-using-google-apps-script