+ p = icalcomponent_get_first_property(cal, ICAL_SUMMARY_PROPERTY);
+ if (p != NULL) {
+ wprintf("<B>Summary:</B> ");
+ escputs((char *)icalproperty_get_comment(p));
+ wprintf("<BR>\n");
+ }
+
+ p = icalcomponent_get_first_property(cal, ICAL_LOCATION_PROPERTY);
+ if (p != NULL) {
+ wprintf("<B>Location:</B> ");
+ escputs((char *)icalproperty_get_comment(p));
+ wprintf("<BR>\n");
+ }
+
+ p = icalcomponent_get_first_property(cal, ICAL_DTSTART_PROPERTY);
+ if (p != NULL) {
+ t = icalproperty_get_dtstart(p);
+ tt = icaltime_as_timet(t);
+ wprintf("<B>Starting date/time:</B> %s<BR>",
+ asctime(localtime(&tt))
+ );
+ }
+
+ p = icalcomponent_get_first_property(cal, ICAL_DTEND_PROPERTY);
+ if (p != NULL) {
+ t = icalproperty_get_dtstart(p);
+ tt = icaltime_as_timet(t);
+ wprintf("<B>Ending date/time:</B> %s<BR>",
+ asctime(localtime(&tt))
+ );
+ }
+
+ p = icalcomponent_get_first_property(cal, ICAL_DESCRIPTION_PROPERTY);
+ if (p != NULL) {
+ wprintf("<B>Description:</B> ");
+ escputs((char *)icalproperty_get_comment(p));
+ wprintf("<BR>\n");
+ }
+