简体   繁体   中英

How to Read Calendar Event Recurrence Settings Using Google Apps Script

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).

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM