37
37
</tr></table></div>
38
38
<div class="refsynopsisdiv">
39
39
<a name="libecal-e-cal-time-util.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libecal-e-cal-time-util.html#time-days-in-month" title="time_days_in_month ()">time_days_in_month</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> year</code></em>,
41
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> month</code></em>);
42
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libecal-e-cal-time-util.html#time-day-of-year" title="time_day_of_year ()">time_day_of_year</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> day</code></em>,
43
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> month</code></em>,
44
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> year</code></em>);
45
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libecal-e-cal-time-util.html#time-day-of-week" title="time_day_of_week ()">time_day_of_week</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> day</code></em>,
46
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> month</code></em>,
47
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> year</code></em>);
48
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libecal-e-cal-time-util.html#time-is-leap-year" title="time_is_leap_year ()">time_is_leap_year</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> year</code></em>);
49
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libecal-e-cal-time-util.html#time-leap-years-up-to" title="time_leap_years_up_to ()">time_leap_years_up_to</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> year</code></em>);
50
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libecal-e-cal-time-util.html#isodate-from-time-t" title="isodate_from_time_t ()">isodate_from_time_t</a> (<em class="parameter"><code><span class="type">time_t</span> t</code></em>);
51
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-from-isodate" title="time_from_isodate ()">time_from_isodate</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);
40
<pre class="synopsis"><span class="returnvalue">gint</span> <a class="link" href="libecal-e-cal-time-util.html#time-days-in-month" title="time_days_in_month ()">time_days_in_month</a> (<em class="parameter"><code><span class="type">gint</span> year</code></em>,
41
<em class="parameter"><code><span class="type">gint</span> month</code></em>);
42
<span class="returnvalue">gint</span> <a class="link" href="libecal-e-cal-time-util.html#time-day-of-year" title="time_day_of_year ()">time_day_of_year</a> (<em class="parameter"><code><span class="type">gint</span> day</code></em>,
43
<em class="parameter"><code><span class="type">gint</span> month</code></em>,
44
<em class="parameter"><code><span class="type">gint</span> year</code></em>);
45
<span class="returnvalue">gint</span> <a class="link" href="libecal-e-cal-time-util.html#time-day-of-week" title="time_day_of_week ()">time_day_of_week</a> (<em class="parameter"><code><span class="type">gint</span> day</code></em>,
46
<em class="parameter"><code><span class="type">gint</span> month</code></em>,
47
<em class="parameter"><code><span class="type">gint</span> year</code></em>);
48
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-time-util.html#time-is-leap-year" title="time_is_leap_year ()">time_is_leap_year</a> (<em class="parameter"><code><span class="type">gint</span> year</code></em>);
49
<span class="returnvalue">gint</span> <a class="link" href="libecal-e-cal-time-util.html#time-leap-years-up-to" title="time_leap_years_up_to ()">time_leap_years_up_to</a> (<em class="parameter"><code><span class="type">gint</span> year</code></em>);
50
<span class="returnvalue">gchar</span> * <a class="link" href="libecal-e-cal-time-util.html#isodate-from-time-t" title="isodate_from_time_t ()">isodate_from_time_t</a> (<em class="parameter"><code><span class="type">time_t</span> t</code></em>);
51
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-from-isodate" title="time_from_isodate ()">time_from_isodate</a> (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
52
52
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-add-day" title="time_add_day ()">time_add_day</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
53
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> days</code></em>);
53
<em class="parameter"><code><span class="type">gint</span> days</code></em>);
54
54
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-add-week" title="time_add_week ()">time_add_week</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
55
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> weeks</code></em>);
55
<em class="parameter"><code><span class="type">gint</span> weeks</code></em>);
56
56
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-day-begin" title="time_day_begin ()">time_day_begin</a> (<em class="parameter"><code><span class="type">time_t</span> t</code></em>);
57
57
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-day-end" title="time_day_end ()">time_day_end</a> (<em class="parameter"><code><span class="type">time_t</span> t</code></em>);
58
58
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-add-day-with-zone" title="time_add_day_with_zone ()">time_add_day_with_zone</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
59
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> days</code></em>,
59
<em class="parameter"><code><span class="type">gint</span> days</code></em>,
60
60
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
61
61
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-add-week-with-zone" title="time_add_week_with_zone ()">time_add_week_with_zone</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
62
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> weeks</code></em>,
62
<em class="parameter"><code><span class="type">gint</span> weeks</code></em>,
63
63
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
64
64
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-add-month-with-zone" title="time_add_month_with_zone ()">time_add_month_with_zone</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
65
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> months</code></em>,
65
<em class="parameter"><code><span class="type">gint</span> months</code></em>,
66
66
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
67
67
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-year-begin-with-zone" title="time_year_begin_with_zone ()">time_year_begin_with_zone</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
68
68
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
69
69
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-month-begin-with-zone" title="time_month_begin_with_zone ()">time_month_begin_with_zone</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
70
70
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
71
71
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-week-begin-with-zone" title="time_week_begin_with_zone ()">time_week_begin_with_zone</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
72
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> week_start_day</code></em>,
72
<em class="parameter"><code><span class="type">gint</span> week_start_day</code></em>,
73
73
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
74
74
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-day-begin-with-zone" title="time_day_begin_with_zone ()">time_day_begin_with_zone</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
75
75
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
76
76
<span class="returnvalue">time_t</span> <a class="link" href="libecal-e-cal-time-util.html#time-day-end-with-zone" title="time_day_end_with_zone ()">time_day_end_with_zone</a> (<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
77
77
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
78
<span class="returnvalue">void</span> <a class="link" href="libecal-e-cal-time-util.html#time-to-gdate-with-zone" title="time_to_gdate_with_zone ()">time_to_gdate_with_zone</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> *date</code></em>,
78
<span class="returnvalue">void</span> <a class="link" href="libecal-e-cal-time-util.html#time-to-gdate-with-zone" title="time_to_gdate_with_zone ()">time_to_gdate_with_zone</a> (<em class="parameter"><code><span class="type">GDate</span> *date</code></em>,
79
79
<em class="parameter"><code><span class="type">time_t</span> time</code></em>,
80
80
<em class="parameter"><code><span class="type">icaltimezone</span> *zone</code></em>);
81
struct <a href="/usr/share/gtk-doc/html/libedataserver/libedataserver-e-util.html#tm"><span class="returnvalue">tm</span></a> <a class="link" href="libecal-e-cal-time-util.html#icaltimetype-to-tm" title="icaltimetype_to_tm ()">icaltimetype_to_tm</a> (<em class="parameter"><code><span class="type">struct icaltimetype</span> *itt</code></em>);
82
struct <a href="/usr/share/gtk-doc/html/libedataserver/libedataserver-e-util.html#tm"><span class="returnvalue">tm</span></a> <a class="link" href="libecal-e-cal-time-util.html#icaltimetype-to-tm-with-zone" title="icaltimetype_to_tm_with_zone ()">icaltimetype_to_tm_with_zone</a> (<em class="parameter"><code><span class="type">struct icaltimetype</span> *itt</code></em>,
81
struct <span class="returnvalue">tm</span> <a class="link" href="libecal-e-cal-time-util.html#icaltimetype-to-tm" title="icaltimetype_to_tm ()">icaltimetype_to_tm</a> (<em class="parameter"><code><span class="type">struct icaltimetype</span> *itt</code></em>);
82
struct <span class="returnvalue">tm</span> <a class="link" href="libecal-e-cal-time-util.html#icaltimetype-to-tm-with-zone" title="icaltimetype_to_tm_with_zone ()">icaltimetype_to_tm_with_zone</a> (<em class="parameter"><code><span class="type">struct icaltimetype</span> *itt</code></em>,
83
83
<em class="parameter"><code><span class="type">icaltimezone</span> *from_zone</code></em>,
84
84
<em class="parameter"><code><span class="type">icaltimezone</span> *to_zone</code></em>);
85
85
struct <span class="returnvalue">icaltimetype</span> <a class="link" href="libecal-e-cal-time-util.html#tm-to-icaltimetype" title="tm_to_icaltimetype ()">tm_to_icaltimetype</a> (<em class="parameter"><code><span class="type">struct tm</span> *tm</code></em>,
86
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_date</code></em>);
86
<em class="parameter"><code><span class="type">gboolean</span> is_date</code></em>);
89
89
<div class="refsect1">