aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/timeutil.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-08-02 09:08:52 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2000-08-02 09:08:52 +0800
commit4e5b1da82e7ada3667bfa47471defd5932afc405 (patch)
treea5405dd760a6fee1ce6edc7f3935b3ab38e47b3d /calendar/cal-util/timeutil.h
parent3ce00eb40ede3898fda426b3e125139ab84242b4 (diff)
downloadgsoc2013-evolution-4e5b1da82e7ada3667bfa47471defd5932afc405.tar.gz
gsoc2013-evolution-4e5b1da82e7ada3667bfa47471defd5932afc405.tar.zst
gsoc2013-evolution-4e5b1da82e7ada3667bfa47471defd5932afc405.zip
Use CalComponent and the new property types instead of the old iCalObject
2000-07-31 Federico Mena Quintero <federico@helixcode.com> * cal-util/cal-recur.c (*): Use CalComponent and the new property types instead of the old iCalObject stuff. (cal_recur_generate_instances): Renamed from cal_object_generate_events(). Ensure that the component has the DTSTART property. (generate_instances_for_year): Renamed from cal_object_generate_events_for_year(). (cal_obj_expand_recurrence): Made static. (cal_recur_from_icalrecurrencetype): New function. We should really convert this whole file to use struct icalrecurrencetype instead. (cal_recur_free): New function. * cal-util/cal-recur.h (CalRecurType): Renamed from CalObjRecurType. (CalRecurrence): Renamed from CalObjRecurrence. * cal-util/timeutil.c (time_from_icaltimetype): New function. * cal-util/Makefile.am: Commented out the test-recur program. svn path=/trunk/; revision=4464
Diffstat (limited to 'calendar/cal-util/timeutil.h')
-rw-r--r--calendar/cal-util/timeutil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/cal-util/timeutil.h b/calendar/cal-util/timeutil.h
index 407213d7f8..37b70ee6cf 100644
--- a/calendar/cal-util/timeutil.h
+++ b/calendar/cal-util/timeutil.h
@@ -11,8 +11,10 @@
#include <time.h>
+#include <icaltypes.h>
+time_t time_from_icaltimetype (struct icaltimetype itt);
time_t time_from_isodate (char *str);
time_t time_from_start_duration (time_t start, char *duration);
char *isodate_from_time_t (time_t t);
@@ -73,7 +75,6 @@ time_t time_week_end (time_t t);
time_t time_day_begin (time_t t);
time_t time_day_end (time_t t);
-
time_t parse_date (char *str);
void print_time_t (time_t t);