Hello!
We’ve faced another issue with recurrence rule parsing for MS Calendar event.
The rule pattern is next:
String pattern = "DTSTART:20200921T010000\n" + "DTEND:20200921T013000\n" + "RRULE:FREQ=WEEKLY;UNTIL=20210315T010000Z;INTERVAL=2;BYDAY=MO;WKST=SUEXDATE;TZID=AUSCentralStandardTime:20201130T103000"; MapiCalendarRecurrencePatternFactory.fromString(pattern);
Executing fromString method throws such error:
The string of a recurrent rule does not correspond to the standard: options of a rule is not retrieved AsposeException: The string of a recurrent rule does not correspond to the standard: options of a rule is not retrieved [Ljava.lang.StackTraceElement;@6644fa71 at com.aspose.email.RecurrenceRule.d(SourceFile:889) at com.aspose.email.RecurrenceRule.c(SourceFile:853) at com.aspose.email.RecurrenceRule.a(SourceFile:669) at com.aspose.email.CalendarRecurrence.<init>(SourceFile:89) at com.aspose.email.MapiCalendarRecurrencePatternFactory.fromString(SourceFile:1043)
If I delete the last part of pattern there will be another exception:
String pattern = "DTSTART:20200921T010000\n" + "DTEND:20200921T013000\n" + "RRULE:FREQ=WEEKLY;UNTIL=20210315T010000Z;INTERVAL=2;BYDAY=MO;WKST=SUEXDAT"; MapiCalendarRecurrencePatternFactory.fromString(pattern);
Incorrect option value ‘BYDAY’ a recurrent rule: ‘SUEXDATE’
AsposeException: Incorrect option value ‘BYDAY’ a recurrent rule: ‘SUEXDATE’
[Ljava.lang.StackTraceElement;@6644fa71
at com.aspose.email.RecurrenceRule.b(SourceFile:839)
at com.aspose.email.RecurrenceRule.c(SourceFile:862)
at com.aspose.email.RecurrenceRule.a(SourceFile:669)
at com.aspose.email.CalendarRecurrence.(SourceFile:89)
at com.aspose.email.MapiCalendarRecurrencePatternFactory.fromString(SourceFile:1043)
Could you please take a look at these issues?
Thanks!