2 /*======================================================================
4 CREATOR: eric 26 Jan 2001
7 $Id: icalperiod.h,v 1.6 2008-01-15 23:17:41 dothebart Exp $
10 (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
11 http://www.softwarestudio.org
13 This program is free software; you can redistribute it and/or modify
14 it under the terms of either:
16 The LGPL as published by the Free Software Foundation, version
17 2.1, available at: http://www.fsf.org/copyleft/lesser.html
21 The Mozilla Public License Version 1.0. You may obtain a copy of
22 the License at http://www.mozilla.org/MPL/
24 The Original Code is eric. The Initial Developer of the Original
28 ======================================================================*/
34 #include "icalduration.h"
38 struct icaltimetype start;
39 struct icaltimetype end;
40 struct icaldurationtype duration;
43 struct icalperiodtype icalperiodtype_from_string (const char* str);
45 const char* icalperiodtype_as_ical_string(struct icalperiodtype p);
46 char* icalperiodtype_as_ical_string_r(struct icalperiodtype p);
48 struct icalperiodtype icalperiodtype_null_period(void);
50 int icalperiodtype_is_null_period(struct icalperiodtype p);
52 int icalperiodtype_is_valid_period(struct icalperiodtype p);
54 #endif /* !ICALTIME_H */