Create New Calendar Item

Aspose.Email - Create New Calendar Item

Aspose.Email’s MapiCalendar class provides methods and attributes that set various properties of a calendar item.

Java


 MapiCalendar appointment = new MapiCalendar(

    "Lorem ipsum dolor sit amet.",

    "Appointment",

    "This is a very important meeting :)",

    new Date(2012, 10, 2, 13, 0, 0),

    new Date(2012, 10, 2, 14, 0, 0));

appointment.save(dataDir + "AsposeCalendarItem.ics", AppointmentSaveFormat.Ics);

Download Running Code

Download Sample Code