summaryrefslogtreecommitdiffabout
path: root/libical/src/libical/icalperiod.h
Unidiff
Diffstat (limited to 'libical/src/libical/icalperiod.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libical/src/libical/icalperiod.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/libical/src/libical/icalperiod.h b/libical/src/libical/icalperiod.h
new file mode 100644
index 0000000..64d5323
--- a/dev/null
+++ b/libical/src/libical/icalperiod.h
@@ -0,0 +1,55 @@
1/* -*- Mode: C -*- */
2/*======================================================================
3 FILE: icalperiod.h
4 CREATOR: eric 26 Jan 2001
5
6
7 $Id$
8 $Locker$
9
10 (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
11
12 This program is free software; you can redistribute it and/or modify
13 it under the terms of either:
14
15 The LGPL as published by the Free Software Foundation, version
16 2.1, available at: http://www.fsf.org/copyleft/lesser.html
17
18 Or:
19
20 The Mozilla Public License Version 1.0. You may obtain a copy of
21 the License at http://www.mozilla.org/MPL/
22
23 The Original Code is eric. The Initial Developer of the Original
24 Code is Eric Busboom
25
26
27======================================================================*/
28
29#ifndef ICALPERIOD_H
30#define ICALPERIOD_H
31
32#include "icaltime.h"
33#include "icalduration.h"
34
35struct icalperiodtype
36{
37 struct icaltimetype start;
38 struct icaltimetype end;
39 struct icaldurationtype duration;
40};
41
42struct icalperiodtype icalperiodtype_from_string (const char* str);
43
44const char* icalperiodtype_as_ical_string(struct icalperiodtype p);
45struct icalperiodtype icalperiodtype_null_period();
46int icalperiodtype_is_null_period(struct icalperiodtype p);
47int icalperiodtype_is_valid_period(struct icalperiodtype p);
48
49
50
51
52#endif /* !ICALTIME_H */
53
54
55