Calendar API
Similar to the addressbook API, the calendar API supports most of the fields specified by the vCalendar in IETF RFC 2445. The calendar API supports two classes analogous to those in the addressbook API.
The following code snippet shows a vCalendar entry:
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//hacksw/handcal//NONSGML v1.0//EN BEGIN:VEVENT DTSTART:19970714T170000Z DTEND:19970715T035959Z SUMMARY:Bastille Day Party END:VEVENT END:VCALENDAR
As you can see, the format is very similar to the vCard format used in the addressbook API.
The calendar API supports two interfaces analogous to those in the addressbook API (one interface extending ...
Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.