在日历中编辑重复事件 [英] Editing recurring events in Calendar

查看:55
本文介绍了在日历中编辑重复事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在日历中编辑重复事件时,如果更改了事件时间,是否应删除或维护以前已编辑的重复中断事件?

When editing recurring events in Calendar, if the event time is changed, should the recur break events that have been edited previously be removed or maintained?

推荐答案

我假设您正在谈论更改所有"实例的事件时间.

I'm assuming that you are talking about changing the event time for "all" instances.

在这种情况下,iCalendar规范不要求任何要求.不过,一种常见的做法是让客户端将重复发生的事件分为2个:*通过在RRULE中添加UNTIL日期来限制现有的重复事件.UNTIL值对应于时间更改之前的最后一个实例.保留该时间段内所有已编辑的实例.*创建一个新事件(具有新的UID等),并带有与新时间相对应的DTSTART.该时间段内已编辑的实例(例外)将被删除.

The iCalendar specification does not mandate anything with regards to such a scenario. A common practice though is to have the client split the recurring event into 2: * the existing recurring event is bounded by adding an UNTIL date in the RRULE. The UNTIL value corresponds to the last instance before the change of time. All instances that had been edited in that time period are preserved. * a new event (with a new UID etc...) gets created, with a DTSTART corresponding to the new time. Edited instances (exceptions) for that time period are removed.

两个事件都通过交叉引用的RELATED-TO属性链接在一起.

Both events are linked together via a cross referencing RELATED-TO property.

这篇关于在日历中编辑重复事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆