Hi Aspose
Using Aspose.Email for Java 17.4, if we load the ICS file below using the code below, the 4 events are created OK, but the meeting time after the changed event is one hour out, 8am instead of 9am. Can you please check?
Thanks
ICS file
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//IONET Software//NONSGML Notes Release 9.0.1FP8//EN
BEGIN:VEVENT
CLASS:PUBLIC
TRANSP:OPAQUE
DTSTART:20170704T090000
DTEND:20170704T100000
DTSTAMP:20170410T232018Z
LAST-MODIFIED:20170413T014458Z
SEQUENCE:0
RRULE:FREQ=MONTHLY;INTERVAL=1;UNTIL=20171003T090000;BYDAY=1TU
ORGANIZER;CN=Joe User:mailto:juser@ionet.co.nz
UID:B8F29BB4875C3F37CC2580FE008033D9
SUMMARY:Every 1TU for 3 months, one time change
END:VEVENT
BEGIN:VEVENT
CLASS:PUBLIC
TRANSP:OPAQUE
DTSTART:20170801T140000
DTEND:20170801T150000
DTSTAMP:20170410T232018Z
LAST-MODIFIED:20170413T014458Z
SEQUENCE:1
RECURRENCE-ID:20170801T090000
ORGANIZER;CN=Joe User:mailto:Joe_User@ionetsoftware.com
UID:B8F29BB4875C3F37CC2580FE008033D9
SUMMARY:Every 1TU for 3 months, one time change
END:VEVENT
END:VCALENDAR
Code
PersonalStorage pst = null;
Appointment calDoc;
MailMessage calMsg;
MapiMessage calMapiMsg;
FolderInfo calFolder;
MapiCalendar mapiCal;
License asposeLicense;
try {
String pathPSTFileStr = “c:\temp\testPST.pst”;
String testFile = “c:\temp\test.ics”;
…set License…
pst = PersonalStorage.create(pathPSTFileStr, 0);
calDoc = Appointment.load(testFile);
calMsg = new MailMessage();
calMsg.addAlternateView(calDoc.requestApointment());
calMapiMsg = MapiMessage.fromMailMessage(calMsg);
calFolder = pst.createPredefinedFolder(“Calendar”, StandardIpmFolder.Appointments);
mapiCal = (MapiCalendar)calMapiMsg.toMapiMessageItem();
calFolder.addMapiMessageItem(mapiCal);
}
catch(Exception e) {
System.out.println("Import Error : " + e.toString());
}
finally {
pst.dispose();
}