问题描述
我想在Outlook中创建重复的Ical事件,并且我已经使用了RRule,请参见下文
I want to Create a recurring Ical Event in Outlook and I have used RRule please see below
RRULE; BYDAY = SU; WKST = MO:FREQ = MONTHLY; INTERVAL = 1; UNTIL = 20151204T110000
RRULE;BYDAY=SU;WKST=MO:FREQ=MONTHLY;INTERVAL=1;UNTIL=20151204T110000
因此,上述活动将在每月的第4号到2015年12月进行一次活动
So above will make an event every 04th of month until December 2015
现在在Outlook日历中,我不想在10月4日创建活动.
Now in Outlook calendar I dont want to create event on October 4th.
说这是9月至12月4日的重复活动,但我不想在10月结束该活动.
Say like it is a recurring event from September to December on 4th Date, But I dont want event to be cerated in October.
如何实现这一目标?我们是否可以在进行重复事件时排除任何日期/我们需要在RRULE中添加任何其他值?
How to achieve this? Can we exclude any date while making recurring event/ any other value we need to add in RRULE?
非常感谢您的帮助.请参见下面的.ics文件
Your help is much appreciated. Please see below .ics file
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20150904T100000
DTEND:20151204T110000
DTSTAMP:20150904T012650Z
RRULE;BYDAY=SU;WKST=MO:FREQ=MONTHLY;INTERVAL=1;UNTIL=20151204T110000
UID:[email protected]
Location:AP Test
DESCRIPTION:Test,\n\nThank you for making an appointment with us. You are confirmed for the following appointment:\n\n\nDate: Friday, December 4, 2015\nTime: 10:00am to 11:00am \nWith: AP Test\n\n\n
LAST-MODIFIED:20150904T012650Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:AP Test - test service
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
推荐答案
我使用以下ics代码修复了该问题:
I fixed it using below ics code:
BEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 9.0 MIMEDIR//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20150909T120000
DTSTAMP:20150909T020511Z
RRULE;BYDAY=SU;WKST=MO:FREQ=DAILY;INTERVAL=1;UNTIL=20150914T130000
EXDATE:20150912T120000, 20150913T120000
UID:[email protected]
Location:Test
DESCRIPTION:Test,\n\nThank you for making an appointment with us. You are confirmed for the following appointment:\n
LAST-MODIFIED:20150909T020511Z
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY: test service
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
下面的链接很好地解释了..
Below link explains well..
http://www.tutorialsbag.com/2015/09/ical-recurring-appointment-with-rrule.html
这篇关于如何在Ical Outlook日历中创建重复事件时排除特定日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!