Outlook 约会的 RecurrencePattern 对象中的 EndTime 和 PatternEndDate 属性

EndTime and PatternEndDate properties in RecurrencePattern object of an Outlook appointment

我已经意识到 Outlook Interops 中的这种奇怪行为,在 RecurrencePattern class, the StartTime and EndTime property only give you the correct time part of the pattern, and the year is set to an arbitrary year way in the past like 1601 or 1899. Where the PatternStartDate and PatternEndDate 属性中只为您提供模式的正确日期部分,如果模式没有结束日期,则设置结束年份到 4500。

这在我的项目的各个地方造成了一些混乱和错误。因此,在我通过将日期部分和时间部分加在一起以获得真实日期时间来修复所有这些问题之前,我只想确认这是预期的行为还是我做错了什么。

谢谢大家。

是的,这就是 Outlook 一直做的...