3 [ Module : Net__ICal__Libical, Package : Net::ICal::Libical ]
6 icalparser_parse_string(str);
7 [ returns icalcomponent * ]
9 icalcomponent_new(kind);
10 [ returns icalcomponent * ]
12 icalcomponent_new_clone(component);
13 [ returns icalcomponent * ]
15 icalcomponent_new_from_string(str);
16 [ returns icalcomponent * ]
18 icalcomponent_as_ical_string(component);
21 icalcomponent_free(component);
24 icalcomponent_count_errors(component);
27 icalcomponent_strip_errors(component);
30 icalcomponent_convert_errors(component);
33 icalcomponent_get_current_property(component);
34 [ returns icalproperty * ]
36 icalcomponent_get_first_property(component,kind);
37 [ returns icalproperty * ]
39 icalcomponent_get_next_property(component,kind);
40 [ returns icalproperty * ]
42 icalcomponent_get_current_component(component);
43 [ returns icalcomponent * ]
45 icalcomponent_get_first_component(component,kind);
46 [ returns icalcomponent * ]
48 icalcomponent_get_next_component(component,kind);
49 [ returns icalcomponent * ]
51 icalcomponent_add_property(component,property);
54 icalcomponent_remove_property(component,property);
57 icalcomponent_get_parent(component);
58 [ returns icalcomponent * ]
60 icalcomponent_isa(component);
61 [ returns icalcomponent_kind ]
63 icalrestriction_check(comp);
66 icalproperty_string_to_kind(string);
69 icalproperty_new(kind);
70 [ returns icalproperty * ]
72 icalproperty_new_from_string(str);
73 [ returns icalproperty * ]
75 icalproperty_as_ical_string(prop);
78 icalproperty_set_parameter_from_string(prop,name,value);
81 icalproperty_set_value_from_string(prop,value,kind);
84 icalproperty_get_value_as_string(prop);
87 icalproperty_get_parameter_as_string(prop,name);
90 icalproperty_get_parent(property);
91 [ returns icalcomponent * ]
93 $ICAL_BADARG_ERROR = ICAL_BADARG_ERROR
96 $ICAL_NEWFAILED_ERROR = ICAL_NEWFAILED_ERROR
99 $ICAL_MALFORMEDDATA_ERROR = ICAL_MALFORMEDDATA_ERROR
102 $ICAL_PARSE_ERROR = ICAL_PARSE_ERROR
105 $ICAL_INTERNAL_ERROR = ICAL_INTERNAL_ERROR
107 Like assert --internal consist. prob
109 $ICAL_FILE_ERROR = ICAL_FILE_ERROR
112 $ICAL_ALLOCATION_ERROR = ICAL_ALLOCATION_ERROR
115 $ICAL_USAGE_ERROR = ICAL_USAGE_ERROR
118 $ICAL_NO_ERROR = ICAL_NO_ERROR
120 Used for problems in input to icalerror_strerror()
122 $ICAL_UNKNOWN_ERROR = ICAL_UNKNOWN_ERROR
125 $ICAL_ERROR_FATAL = ICAL_ERROR_FATAL
129 $ICAL_ERROR_NONFATAL = ICAL_ERROR_NONFATAL
133 $ICAL_ERROR_DEFAULT = ICAL_ERROR_DEFAULT
135 Use the value of icalerror_errors_are_fatal Asked state for an unknown
138 $ICAL_ERROR_UNKNOWN = ICAL_ERROR_UNKNOWN
141 icalerror_set_error_state(error,icalerrorstate );
144 icalerror_get_error_state(error);
145 [ returns icalerrorstate ]
147 icalenum_property_kind_to_string(kind);
150 icalenum_string_to_property_kind(string);
151 [ returns icalproperty_kind ]
153 icalenum_value_kind_to_string(kind);
155 icalvalue_kind icalenum_value_kind_by_prop(icalproperty_kind kind);
158 icalenum_parameter_kind_to_string(kind);
161 icalenum_string_to_parameter_kind(string);
162 [ returns icalparameter_kind ]
164 icalenum_component_kind_to_string(kind);
167 icalenum_string_to_component_kind(string);
168 [ returns icalcomponent_kind ]
170 icalenum_property_kind_to_value_kind(kind);
171 [ returns icalvalue_kind ]
173 icallangbind_new_array(size);
176 icallangbind_free_array(array);
179 icallangbind_access_array(array,index);
182 icalrecur_expand_recurrence(rule,start,count,array);
185 icallangbind_get_first_property(c,prop);
186 [ returns icalproperty * ]
188 icallangbind_get_next_property(c,prop);
189 [ returns icalproperty * ]
191 icallangbind_get_first_component(c,comp);
192 [ returns icalcomponent * ]
194 icallangbind_get_next_component(c,comp);
195 [ returns icalcomponent * ]
197 icallangbind_property_eval_string(prop,sep);
200 1. class icaltimetype
201 ======================
202 [ created from struct icaltimetype ]
205 icaltimetype_year_set(struct icaltimetype *,int );
206 icaltimetype_year_get(struct icaltimetype *);
207 [ Member data: returns int ]
209 icaltimetype_month_set(struct icaltimetype *,int );
210 icaltimetype_month_get(struct icaltimetype *);
211 [ Member data: returns int ]
213 icaltimetype_day_set(struct icaltimetype *,int );
214 icaltimetype_day_get(struct icaltimetype *);
215 [ Member data: returns int ]
217 icaltimetype_hour_set(struct icaltimetype *,int );
218 icaltimetype_hour_get(struct icaltimetype *);
219 [ Member data: returns int ]
221 icaltimetype_minute_set(struct icaltimetype *,int );
222 icaltimetype_minute_get(struct icaltimetype *);
223 [ Member data: returns int ]
225 icaltimetype_second_set(struct icaltimetype *,int );
226 icaltimetype_second_get(struct icaltimetype *);
227 [ Member data: returns int ]
229 icaltimetype_is_utc_set(struct icaltimetype *,int );
230 icaltimetype_is_utc_get(struct icaltimetype *);
231 [ Member data: returns int ]
232 1-> time is in UTC timezone
234 icaltimetype_is_date_set(struct icaltimetype *,int );
235 icaltimetype_is_date_get(struct icaltimetype *);
236 [ Member data: returns int ]
237 1 -> interpret this as date.
239 $icaltimetype_zone = icaltimetype::zone
241 Ptr to Olsen placename. Libical does not own mem
245 icaltime_from_timet(v,is_date);
246 [ returns struct icaltimetype ]
248 icaltime_as_timet(struct icaltimetype *);
251 icaltime_as_ical_string(tt);
254 icaltime_from_string(str);
255 [ returns struct icaltimetype ]
257 icaltime_utc_offset(tt,tzid);
260 icaltime_as_utc(tt,tzid);
261 [ returns struct icaltimetype ]
263 icaltime_as_zone(tt,tzid);
264 [ returns struct icaltimetype ]
266 icaltime_null_time();
267 [ returns struct icaltimetype ]
269 icaltime_is_null_time(t);
272 icaltime_is_valid_time(t);
275 icaltime_normalize(t);
276 [ returns struct icaltimetype ]
278 icaltime_day_of_year(t);
281 icaltime_from_day_of_year(doy,year);
282 [ returns struct icaltimetype ]
284 icaltime_day_of_week(t);
287 icaltime_start_doy_of_week(t);
290 icaltime_as_ctime(struct icaltimetype *);
293 icaltime_week_number(t);
296 icaltime_compare(a,b);
299 icaltime_compare_date_only(a,b);
302 icaltime_days_in_month(month,year);
305 2. class icaldurationtype
306 ==========================
307 [ created from struct icaldurationtype ]
310 icaldurationtype_is_neg_set(struct icaldurationtype *,int );
311 icaldurationtype_is_neg_get(struct icaldurationtype *);
312 [ Member data: returns int ]
314 icaldurationtype_days_set(struct icaldurationtype *,unsigned int );
315 icaldurationtype_days_get(struct icaldurationtype *);
316 [ Member data: returns unsigned int ]
318 icaldurationtype_weeks_set(struct icaldurationtype *,unsigned int );
319 icaldurationtype_weeks_get(struct icaldurationtype *);
320 [ Member data: returns unsigned int ]
322 icaldurationtype_hours_set(struct icaldurationtype *,unsigned int );
323 icaldurationtype_hours_get(struct icaldurationtype *);
324 [ Member data: returns unsigned int ]
326 icaldurationtype_minutes_set(struct icaldurationtype *,unsigned int );
327 icaldurationtype_minutes_get(struct icaldurationtype *);
328 [ Member data: returns unsigned int ]
330 icaldurationtype_seconds_set(struct icaldurationtype *,unsigned int );
331 icaldurationtype_seconds_get(struct icaldurationtype *);
332 [ Member data: returns unsigned int ]
336 icaldurationtype_from_int(t);
337 [ returns struct icaldurationtype ]
339 icaldurationtype_from_string(char *);
340 [ returns struct icaldurationtype ]
342 icaldurationtype_as_int(duration);
345 icaldurationtype_as_ical_string(d);
348 icaldurationtype_null_duration();
349 [ returns struct icaldurationtype ]
351 icaldurationtype_is_null_duration(d);
355 [ returns struct icaltimetype ]
357 icaltime_subtract(t1,t2);
358 [ returns struct icaldurationtype ]
360 3. class icalperiodtype
361 ========================
362 [ created from struct icalperiodtype ]
365 icalperiodtype_start_set(struct icalperiodtype *,struct icaltimetype *);
366 icalperiodtype_start_get(struct icalperiodtype *);
367 [ Member data: returns struct icaltimetype * ]
369 icalperiodtype_end_set(struct icalperiodtype *,struct icaltimetype *);
370 icalperiodtype_end_get(struct icalperiodtype *);
371 [ Member data: returns struct icaltimetype * ]
373 icalperiodtype_duration_set(struct icalperiodtype *,struct icaldurationtype *);
374 icalperiodtype_duration_get(struct icalperiodtype *);
375 [ Member data: returns struct icaldurationtype * ]
379 icalperiodtype_from_string(str);
380 [ returns struct icalperiodtype ]
382 icalperiodtype_as_ical_string(p);
385 icalperiodtype_null_period();
386 [ returns struct icalperiodtype ]
388 icalperiodtype_is_null_period(p);
391 icalperiodtype_is_valid_period(p);