How to Read Calendar Event Recurrence Settings Using Google Apps Script

断了今生、忘了曾经 提交于 2019-12-11 14:39:01

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!