The recurrence dates, if specified, are used in computing the
recurrence set. The recurrence set is the complete set of
recurrence instances for a calendar component. The recurrence set
is generated by considering the initial "DTSTART" property along
with the "RRULE", "RDATE", and "EXDATE" properties contained
within the recurring component. The "DTSTART" property defines
the first instance in the recurrence set. The "DTSTART" property
value SHOULD match the pattern of the recurrence rule, if
specified. The recurrence set generated with a "DTSTART" property
value that doesn't match the pattern of the rule is undefined.
The final recurrence set is generated by gathering all of the
start DATE-TIME values generated by any of the specified "RRULE"
and "RDATE" properties, and then excluding any start DATE-TIME
values specified by "EXDATE" properties. This implies that start
DATE-TIME values specified by "EXDATE" properties take precedence
over those specified by inclusion properties (i.e., "RDATE" and
"RRULE"). Where duplicate instances are generated by the "RRULE"
and "RDATE" properties, only one recurrence is considered.
Duplicate instances are ignored.
这是可能的,但不是很容易。您提到的标准实际上在这里描述了:Link to standard page 120
这意味着您可以有一个startdate(
DTSTART
)和一个递归规则(RRULE
)。通过使用EXDATE
,你可以制作一个RRULE,上面写着“从STARTDATE到ENDDATE的每一天,除了[你不想要的所有小时的列表]”。这只适用于每天,您不能按照标准每小时召开一次会议我使用
RDATE
解决了我的问题:它工作得很好,不过也欢迎任何其他建议或意见:)
相关问题 更多 >
编程相关推荐