summaryrefslogtreecommitdiff
path: root/apidocs/icaltimezone_8h_source.html
blob: 2fbf2c94024f4bd4e01edebb4a3804ad925f0475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Libical API Documentation: icaltimezone.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Libical API Documentation
   &#160;<span id="projectnumber">3.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b7a0ea939f6e83384f3c571d31a84be9.html">libical</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">icaltimezone.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="icaltimezone_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"><a class="line" href="icaltimezone_8h.html#a8561e9d4374ca1e29cd5ade459a50208">    1</a></span>&#160;<span class="comment">/*======================================================================</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> FILE: icaltimezone.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> CREATOR: Damon Chaplin 15 March 2001</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> (C) COPYRIGHT 2001, Damon Chaplin &lt;damon@ximian.com&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> This library is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> it under the terms of either:</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    The LGPL as published by the Free Software Foundation, version</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">    2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> Or:</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    The Mozilla Public License Version 2.0. You may obtain a copy of</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    the License at https://www.mozilla.org/MPL/</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">======================================================================*/</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifndef ICALTIMEZONE_H</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define ICALTIMEZONE_H</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;libical_ical_export.h&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="icalcomponent_8h.html">icalcomponent.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#if !defined(ICALTIMEZONE_DEFINED)</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define ICALTIMEZONE_DEFINED</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__icaltimezone.html">_icaltimezone</a> <a class="code" href="struct__icaltimezone.html">icaltimezone</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment"> * Creating/Destroying individual icaltimezones.</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="struct__icaltimezone.html">icaltimezone</a> *<a class="code" href="icaltimezone_8h.html#ac3a8d8fa9901d42ab989f1a1e746956c">icaltimezone_new</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="struct__icaltimezone.html">icaltimezone</a> *icaltimezone_copy(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *originalzone);</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icaltimezone_8h.html#aa96c3397fd8bcce74e1f220ca3fc333d">icaltimezone_free</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone, <span class="keywordtype">int</span> free_struct);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icaltimezone_8h.html#a04849ce67c1a529f19d695b74cb238fe">icaltimezone_set_tzid_prefix</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *new_prefix);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment"> * Accessing timezones.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icaltimezone_8h.html#a7596677c1f0c38bac7e687f37e19e397">icaltimezone_free_builtin_timezones</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="struct__icalarray.html">icalarray</a> *<a class="code" href="icaltimezone_8h.html#acad626a5835066667c38aac0894e798c">icaltimezone_get_builtin_timezones</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="struct__icaltimezone.html">icaltimezone</a> *<a class="code" href="icaltimezone_8h.html#acd59a944189a01a0f6544401a70f8262">icaltimezone_get_builtin_timezone</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="struct__icaltimezone.html#a90fc30929090b330fe1419602a0d7528">location</a>);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="struct__icaltimezone.html">icaltimezone</a> *<a class="code" href="icaltimezone_8h.html#a7433cb4ebc6cb07579a1140261c6f555">icaltimezone_get_builtin_timezone_from_offset</a>(<span class="keywordtype">int</span> offset,</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;                                                                                <span class="keyword">const</span> <span class="keywordtype">char</span> *tzname);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="struct__icaltimezone.html">icaltimezone</a> *<a class="code" href="icaltimezone_8h.html#af54e0abc7f5d934864f3c06c9beb59cd">icaltimezone_get_builtin_timezone_from_tzid</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="struct__icaltimezone.html#ac863b840b171d996da68da6bfa664f89">tzid</a>);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="struct__icaltimezone.html">icaltimezone</a> *<a class="code" href="icaltimezone_8h.html#a993ceafd420a2c46651db1503d1adc9a">icaltimezone_get_utc_timezone</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;LIBICAL_ICAL_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="icaltimezone_8h.html#a1f2ba5baf0d556ab8ea8f5eb81e5af29">icaltimezone_get_tzid</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;LIBICAL_ICAL_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="icaltimezone_8h.html#ac2fbe5451e417f7ec50f346bbde8247d">icaltimezone_get_location</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;LIBICAL_ICAL_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="icaltimezone_8h.html#ab7448438384fd57d93edf5e3ea632c90">icaltimezone_get_tznames</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">double</span> <a class="code" href="icaltimezone_8h.html#acfc51cb64dcc62ff668df02073c803d6">icaltimezone_get_latitude</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone);</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">double</span> <a class="code" href="icaltimezone_8h.html#a346caee2838d8dfbeb07bc9c66b04e2b">icaltimezone_get_longitude</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="structicalcomponent__impl.html">icalcomponent</a> *<a class="code" href="icaltimezone_8h.html#a096d18647de1113c19d2309a1f4c2931">icaltimezone_get_component</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">int</span> <a class="code" href="icaltimezone_8h.html#ac06a9a060f021b7f4bdff282b2638357">icaltimezone_set_component</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone, <a class="code" href="structicalcomponent__impl.html">icalcomponent</a> *comp);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;LIBICAL_ICAL_EXPORT <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="icaltimezone_8h.html#ac32053bf56b415c44d7527bc89318757">icaltimezone_get_display_name</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment"> * Converting times between timezones.</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> icaltimezone_convert_time(<span class="keyword">struct</span> <a class="code" href="structicaltimetype.html">icaltimetype</a> *tt,</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;                                                   <a class="code" href="struct__icaltimezone.html">icaltimezone</a> *from_zone,</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;                                                   <a class="code" href="struct__icaltimezone.html">icaltimezone</a> *to_zone);</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment"> * Getting offsets from UTC.</span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">int</span> <a class="code" href="icaltimezone_8h.html#a1ebe99e4975a461da82f4add92ca01d4">icaltimezone_get_utc_offset</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone,</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                                                    <span class="keyword">struct</span> <a class="code" href="structicaltimetype.html">icaltimetype</a> *tt, <span class="keywordtype">int</span> *is_daylight);</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">int</span> <a class="code" href="icaltimezone_8h.html#af6c4b7dc1e0c056bfbbd0f833d039b5d">icaltimezone_get_utc_offset_of_utc_time</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone,</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;                                                                <span class="keyword">struct</span> <a class="code" href="structicaltimetype.html">icaltimetype</a> *tt,</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;                                                                <span class="keywordtype">int</span> *is_daylight);</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment"> * Handling arrays of timezones. Mainly for internal use.</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;LIBICAL_ICAL_EXPORT <a class="code" href="struct__icalarray.html">icalarray</a> *icaltimezone_array_new(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; </div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> icaltimezone_array_append_from_vtimezone(<a class="code" href="struct__icalarray.html">icalarray</a> *timezones,</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;                                                                  <a class="code" href="structicalcomponent__impl.html">icalcomponent</a> *child);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> icaltimezone_array_free(<a class="code" href="struct__icalarray.html">icalarray</a> *timezones);</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment"> * By request (issue #112) make vtimezone functions public</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> icaltimezone_expand_vtimezone(<a class="code" href="structicalcomponent__impl.html">icalcomponent</a> *comp,</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;                                                       <span class="keywordtype">int</span> <a class="code" href="struct__icaltimezone.html#af13e59b4c5f832286020da795b819e11">end_year</a>, <a class="code" href="struct__icalarray.html">icalarray</a> *<a class="code" href="struct__icaltimezone.html#a841b16536a64c2c620e765079ca21d11">changes</a>);</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">char</span> *<a class="code" href="icaltimezone_8h.html#a41d1e5b940ebc05aaa2def6bcfccba37">icaltimezone_get_location_from_vtimezone</a>(<a class="code" href="structicalcomponent__impl.html">icalcomponent</a> *<a class="code" href="struct__icaltimezone.html#a5c66736445277e7cc3bb8c45c32b7b14">component</a>);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">char</span> *<a class="code" href="icaltimezone_8h.html#abc43a04d4d4a0b3229d28dde2e92835b">icaltimezone_get_tznames_from_vtimezone</a>(<a class="code" href="structicalcomponent__impl.html">icalcomponent</a> *<a class="code" href="struct__icaltimezone.html#a5c66736445277e7cc3bb8c45c32b7b14">component</a>);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="comment"> * Truncate a VTIMEZONE component to the given start and end times.</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment"> * If either time is null, then no truncation will occur at that point.</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="comment"> * If either time is non-null, then it MUST be specified as UTC.</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="comment"> * If the start time is non-null and ms_compatible is zero,</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="comment"> * then the DTSTART of RRULEs will be adjusted to occur after the start time.</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="comment"> * @since 3.0.6</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> icaltimezone_truncate_vtimezone(<a class="code" href="structicalcomponent__impl.html">icalcomponent</a> *vtz,</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;                                                         <a class="code" href="structicaltimetype.html">icaltimetype</a> start,</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;                                                         <a class="code" href="structicaltimetype.html">icaltimetype</a> end,</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;                                                         <span class="keywordtype">int</span> ms_compatible);</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160; </div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="comment"> * @par Handling the default location the timezone files</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icaltimezone_8h.html#af35f72898e3992529e12c07c62659b22">set_zone_directory</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *path);</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icaltimezone_8h.html#a431f7b425ec073cdd490431d4285f294">free_zone_directory</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160; </div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> icaltimezone_release_zone_tab(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="comment"> * @par Handling whether to use builtin timezone files</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> icaltimezone_set_builtin_tzdata(<span class="keywordtype">int</span> set);</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160; </div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">int</span> icaltimezone_get_builtin_tzdata(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment"> * Debugging Output.</span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">int</span> <a class="code" href="icaltimezone_8h.html#a12c7192c39744d49e4c23249926ae22a">icaltimezone_dump_changes</a>(<a class="code" href="struct__icaltimezone.html">icaltimezone</a> *zone, <span class="keywordtype">int</span> max_year, FILE *fp);</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;<span class="comment">/* For the library only -- do not make visible */</span></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *icaltimezone_tzid_prefix(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ICALTIMEZONE_H */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aicaltimezone_8h_html_ab7448438384fd57d93edf5e3ea632c90"><div class="ttname"><a href="icaltimezone_8h.html#ab7448438384fd57d93edf5e3ea632c90">icaltimezone_get_tznames</a></div><div class="ttdeci">const char * icaltimezone_get_tznames(icaltimezone *zone)</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1204</div></div>
<div class="ttc" id="aicaltimezone_8h_html_af54e0abc7f5d934864f3c06c9beb59cd"><div class="ttname"><a href="icaltimezone_8h.html#af54e0abc7f5d934864f3c06c9beb59cd">icaltimezone_get_builtin_timezone_from_tzid</a></div><div class="ttdeci">icaltimezone * icaltimezone_get_builtin_timezone_from_tzid(const char *tzid)</div><div class="ttdoc">Returns a single builtin timezone, given its TZID.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1476</div></div>
<div class="ttc" id="astruct__icaltimezone_html_a841b16536a64c2c620e765079ca21d11"><div class="ttname"><a href="struct__icaltimezone.html#a841b16536a64c2c620e765079ca21d11">_icaltimezone::changes</a></div><div class="ttdeci">icalarray * changes</div><div class="ttdef"><b>Definition:</b> icaltimezoneimpl.h:65</div></div>
<div class="ttc" id="astructicalcomponent__impl_html"><div class="ttname"><a href="structicalcomponent__impl.html">icalcomponent_impl</a></div><div class="ttdef"><b>Definition:</b> icalcomponent.c:36</div></div>
<div class="ttc" id="astruct__icalarray_html"><div class="ttname"><a href="struct__icalarray.html">_icalarray</a></div><div class="ttdef"><b>Definition:</b> icalarray.h:36</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a12c7192c39744d49e4c23249926ae22a"><div class="ttname"><a href="icaltimezone_8h.html#a12c7192c39744d49e4c23249926ae22a">icaltimezone_dump_changes</a></div><div class="ttdeci">int icaltimezone_dump_changes(icaltimezone *zone, int max_year, FILE *fp)</div><div class="ttdoc">Outputs a list of timezone changes for the given timezone to the given file, up to the maximum year g...</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1944</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a1f2ba5baf0d556ab8ea8f5eb81e5af29"><div class="ttname"><a href="icaltimezone_8h.html#a1f2ba5baf0d556ab8ea8f5eb81e5af29">icaltimezone_get_tzid</a></div><div class="ttdeci">const char * icaltimezone_get_tzid(icaltimezone *zone)</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1182</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a431f7b425ec073cdd490431d4285f294"><div class="ttname"><a href="icaltimezone_8h.html#a431f7b425ec073cdd490431d4285f294">free_zone_directory</a></div><div class="ttdeci">void free_zone_directory(void)</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:2163</div></div>
<div class="ttc" id="aicaltimezone_8h_html_acad626a5835066667c38aac0894e798c"><div class="ttname"><a href="icaltimezone_8h.html#acad626a5835066667c38aac0894e798c">icaltimezone_get_builtin_timezones</a></div><div class="ttdeci">icalarray * icaltimezone_get_builtin_timezones(void)</div><div class="ttdoc">Returns an icalarray of icaltimezone structs, one for each builtin timezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1332</div></div>
<div class="ttc" id="astructicaltimetype_html"><div class="ttname"><a href="structicaltimetype.html">icaltimetype</a></div><div class="ttdef"><b>Definition:</b> icaltime.h:105</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a993ceafd420a2c46651db1503d1adc9a"><div class="ttname"><a href="icaltimezone_8h.html#a993ceafd420a2c46651db1503d1adc9a">icaltimezone_get_utc_timezone</a></div><div class="ttdeci">icaltimezone * icaltimezone_get_utc_timezone(void)</div><div class="ttdoc">Returns the UTC timezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1542</div></div>
<div class="ttc" id="astruct__icaltimezone_html_ac863b840b171d996da68da6bfa664f89"><div class="ttname"><a href="struct__icaltimezone.html#ac863b840b171d996da68da6bfa664f89">_icaltimezone::tzid</a></div><div class="ttdeci">char * tzid</div><div class="ttdef"><b>Definition:</b> icaltimezoneimpl.h:24</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a7433cb4ebc6cb07579a1140261c6f555"><div class="ttname"><a href="icaltimezone_8h.html#a7433cb4ebc6cb07579a1140261c6f555">icaltimezone_get_builtin_timezone_from_offset</a></div><div class="ttdeci">icaltimezone * icaltimezone_get_builtin_timezone_from_offset(int offset, const char *tzname)</div><div class="ttdoc">Returns a single builtin timezone, given its offset from UTC.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1445</div></div>
<div class="ttc" id="aicalcomponent_8h_html"><div class="ttname"><a href="icalcomponent_8h.html">icalcomponent.h</a></div></div>
<div class="ttc" id="aicaltimezone_8h_html_ac32053bf56b415c44d7527bc89318757"><div class="ttname"><a href="icaltimezone_8h.html#ac32053bf56b415c44d7527bc89318757">icaltimezone_get_display_name</a></div><div class="ttdeci">const char * icaltimezone_get_display_name(icaltimezone *zone)</div><div class="ttdoc">Returns the timezone name to display to the user.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1273</div></div>
<div class="ttc" id="aicaltimezone_8h_html_ac3a8d8fa9901d42ab989f1a1e746956c"><div class="ttname"><a href="icaltimezone_8h.html#ac3a8d8fa9901d42ab989f1a1e746956c">icaltimezone_new</a></div><div class="ttdeci">icaltimezone * icaltimezone_new(void)</div><div class="ttdoc">Creates a new icaltimezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:211</div></div>
<div class="ttc" id="aicaltimezone_8h_html_ac06a9a060f021b7f4bdff282b2638357"><div class="ttname"><a href="icaltimezone_8h.html#ac06a9a060f021b7f4bdff282b2638357">icaltimezone_set_component</a></div><div class="ttdeci">int icaltimezone_set_component(icaltimezone *zone, icalcomponent *comp)</div><div class="ttdoc">Sets the VTIMEZONE component of an icaltimezone, initializing the tzid, location &amp; tzname fields.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1248</div></div>
<div class="ttc" id="aicaltimezone_8h_html_abc43a04d4d4a0b3229d28dde2e92835b"><div class="ttname"><a href="icaltimezone_8h.html#abc43a04d4d4a0b3229d28dde2e92835b">icaltimezone_get_tznames_from_vtimezone</a></div><div class="ttdeci">char * icaltimezone_get_tznames_from_vtimezone(icalcomponent *component)</div><div class="ttdoc">Gets the TZNAMEs used for the last STANDARD &amp; DAYLIGHT components in a VTIMEZONE.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:381</div></div>
<div class="ttc" id="astruct__icaltimezone_html_a5c66736445277e7cc3bb8c45c32b7b14"><div class="ttname"><a href="struct__icaltimezone.html#a5c66736445277e7cc3bb8c45c32b7b14">_icaltimezone::component</a></div><div class="ttdeci">icalcomponent * component</div><div class="ttdef"><b>Definition:</b> icaltimezoneimpl.h:49</div></div>
<div class="ttc" id="aicaltimezone_8h_html_af6c4b7dc1e0c056bfbbd0f833d039b5d"><div class="ttname"><a href="icaltimezone_8h.html#af6c4b7dc1e0c056bfbbd0f833d039b5d">icaltimezone_get_utc_offset_of_utc_time</a></div><div class="ttdeci">int icaltimezone_get_utc_offset_of_utc_time(icaltimezone *zone, struct icaltimetype *tt, int *is_daylight)</div><div class="ttdoc">Calculates the UTC offset of a given UTC time in the given timezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:975</div></div>
<div class="ttc" id="astruct__icaltimezone_html_a90fc30929090b330fe1419602a0d7528"><div class="ttname"><a href="struct__icaltimezone.html#a90fc30929090b330fe1419602a0d7528">_icaltimezone::location</a></div><div class="ttdeci">char * location</div><div class="ttdef"><b>Definition:</b> icaltimezoneimpl.h:30</div></div>
<div class="ttc" id="aicaltimezone_8h_html_acd59a944189a01a0f6544401a70f8262"><div class="ttname"><a href="icaltimezone_8h.html#acd59a944189a01a0f6544401a70f8262">icaltimezone_get_builtin_timezone</a></div><div class="ttdeci">icaltimezone * icaltimezone_get_builtin_timezone(const char *location)</div><div class="ttdoc">Returns a single builtin timezone, given its Olson city name.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1346</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a096d18647de1113c19d2309a1f4c2931"><div class="ttname"><a href="icaltimezone_8h.html#a096d18647de1113c19d2309a1f4c2931">icaltimezone_get_component</a></div><div class="ttdeci">icalcomponent * icaltimezone_get_component(icaltimezone *zone)</div><div class="ttdoc">Returns the VTIMEZONE component of a timezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1237</div></div>
<div class="ttc" id="astruct__icaltimezone_html"><div class="ttname"><a href="struct__icaltimezone.html">_icaltimezone</a></div><div class="ttdef"><b>Definition:</b> icaltimezoneimpl.h:23</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a1ebe99e4975a461da82f4add92ca01d4"><div class="ttname"><a href="icaltimezone_8h.html#a1ebe99e4975a461da82f4add92ca01d4">icaltimezone_get_utc_offset</a></div><div class="ttdeci">int icaltimezone_get_utc_offset(icaltimezone *zone, struct icaltimetype *tt, int *is_daylight)</div><div class="ttdoc">Calculates the UTC offset of a given local time in the given timezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:818</div></div>
<div class="ttc" id="aicaltimezone_8h_html_aa96c3397fd8bcce74e1f220ca3fc333d"><div class="ttname"><a href="icaltimezone_8h.html#aa96c3397fd8bcce74e1f220ca3fc333d">icaltimezone_free</a></div><div class="ttdeci">void icaltimezone_free(icaltimezone *zone, int free_struct)</div><div class="ttdoc">Frees all memory used for the icaltimezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:260</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a346caee2838d8dfbeb07bc9c66b04e2b"><div class="ttname"><a href="icaltimezone_8h.html#a346caee2838d8dfbeb07bc9c66b04e2b">icaltimezone_get_longitude</a></div><div class="ttdeci">double icaltimezone_get_longitude(icaltimezone *zone)</div><div class="ttdoc">Returns the longitude of a builtin timezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1226</div></div>
<div class="ttc" id="astruct__icaltimezone_html_af13e59b4c5f832286020da795b819e11"><div class="ttname"><a href="struct__icaltimezone.html#af13e59b4c5f832286020da795b819e11">_icaltimezone::end_year</a></div><div class="ttdeci">int end_year</div><div class="ttdef"><b>Definition:</b> icaltimezoneimpl.h:60</div></div>
<div class="ttc" id="aicaltimezone_8h_html_af35f72898e3992529e12c07c62659b22"><div class="ttname"><a href="icaltimezone_8h.html#af35f72898e3992529e12c07c62659b22">set_zone_directory</a></div><div class="ttdeci">void set_zone_directory(const char *path)</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:2152</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a04849ce67c1a529f19d695b74cb238fe"><div class="ttname"><a href="icaltimezone_8h.html#a04849ce67c1a529f19d695b74cb238fe">icaltimezone_set_tzid_prefix</a></div><div class="ttdeci">void icaltimezone_set_tzid_prefix(const char *new_prefix)</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:2171</div></div>
<div class="ttc" id="aicaltimezone_8h_html_acfc51cb64dcc62ff668df02073c803d6"><div class="ttname"><a href="icaltimezone_8h.html#acfc51cb64dcc62ff668df02073c803d6">icaltimezone_get_latitude</a></div><div class="ttdeci">double icaltimezone_get_latitude(icaltimezone *zone)</div><div class="ttdoc">Returns the latitude of a builtin timezone.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1215</div></div>
<div class="ttc" id="aicaltimezone_8h_html_ac2fbe5451e417f7ec50f346bbde8247d"><div class="ttname"><a href="icaltimezone_8h.html#ac2fbe5451e417f7ec50f346bbde8247d">icaltimezone_get_location</a></div><div class="ttdeci">const char * icaltimezone_get_location(icaltimezone *zone)</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1193</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a7596677c1f0c38bac7e687f37e19e397"><div class="ttname"><a href="icaltimezone_8h.html#a7596677c1f0c38bac7e687f37e19e397">icaltimezone_free_builtin_timezones</a></div><div class="ttdeci">void icaltimezone_free_builtin_timezones(void)</div><div class="ttdoc">Releases builtin timezone memory.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:1340</div></div>
<div class="ttc" id="aicaltimezone_8h_html_a41d1e5b940ebc05aaa2def6bcfccba37"><div class="ttname"><a href="icaltimezone_8h.html#a41d1e5b940ebc05aaa2def6bcfccba37">icaltimezone_get_location_from_vtimezone</a></div><div class="ttdeci">char * icaltimezone_get_location_from_vtimezone(icalcomponent *component)</div><div class="ttdoc">Gets the LOCATION or X-LIC-LOCATION property from a VTIMEZONE.</div><div class="ttdef"><b>Definition:</b> icaltimezone.c:354</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Oct 9 2021 12:48:12 for Libical API Documentation by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>