ical4p
ical4p
About
ical4p is a thin wrapper around ical4j for processing This library allows the simple access of calendar events stored in a ical file.
Download
Installation
to install the library simply download it and unzip it in the library folder of your processing installation. From release 0149 on the libraries folder should be in your sketchbook folder. older releases need it to be copied into the library folder of your processing installation.
Documentation
To Parse a ics file, the parse method of an ical object has to be used.
ICal cal = new ICal();
cal.parse( dataPath("test.ics"));
To access the events
Set events = cal.getEvents();
for (Iterator i = events.iterator(); i.hasNext(); ) {
ICalEvent e = (ICalEvent)i.next();
// do something with the ical events ...
}
Examples
The zip file includes a simple timeline example.
Licence
ical4p is released under the GNU LGPL