icalendar 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +26 -3
- data/docs/api/classes/Array.html +155 -0
- data/docs/api/classes/Bignum.html +148 -0
- data/docs/api/classes/Date.html +172 -0
- data/docs/api/classes/DateTime.html +200 -0
- data/docs/api/classes/Fixnum.html +148 -0
- data/docs/api/classes/Float.html +148 -0
- data/docs/api/classes/HashAttrs.html +212 -0
- data/docs/api/classes/Icalendar/Alarm.html +228 -0
- data/docs/api/classes/Icalendar/Base.html +179 -0
- data/docs/api/classes/Icalendar/Calendar.html +504 -0
- data/docs/api/classes/Icalendar/Component.html +853 -0
- data/docs/api/classes/Icalendar/DateProp.html +187 -0
- data/docs/api/classes/Icalendar/DateProp/ClassMethods.html +195 -0
- data/docs/api/classes/Icalendar/Daylight.html +156 -0
- data/docs/api/classes/Icalendar/Event.html +671 -0
- data/docs/api/classes/Icalendar/Freebusy.html +266 -0
- data/docs/api/classes/Icalendar/Geo.html +211 -0
- data/docs/api/classes/Icalendar/InvalidPropertyValue.html +117 -0
- data/docs/api/classes/Icalendar/Journal.html +443 -0
- data/docs/api/classes/Icalendar/Parameter.html +166 -0
- data/docs/api/classes/Icalendar/Parser.html +352 -0
- data/docs/api/classes/Icalendar/RRule.html +428 -0
- data/docs/api/classes/Icalendar/RRule/Weekday.html +199 -0
- data/docs/api/classes/Icalendar/Standard.html +156 -0
- data/docs/api/classes/Icalendar/Timezone.html +450 -0
- data/docs/api/classes/Icalendar/Todo.html +480 -0
- data/docs/api/classes/Icalendar/TzidSupport.html +118 -0
- data/docs/api/classes/Icalendar/UnknownComponentClass.html +117 -0
- data/docs/api/classes/Icalendar/UnknownPropertyMethod.html +117 -0
- data/docs/api/classes/Object.html +272 -0
- data/docs/api/classes/String.html +148 -0
- data/docs/api/classes/TZInfo.html +119 -0
- data/docs/api/classes/TZInfo/Timezone.html +153 -0
- data/docs/api/classes/TZInfo/TimezonePeriod.html +200 -0
- data/docs/api/classes/TZInfo/TimezoneTransitionInfo.html +229 -0
- data/docs/api/classes/Time.html +180 -0
- data/docs/api/classes/URI.html +111 -0
- data/docs/api/classes/URI/Generic.html +148 -0
- data/docs/api/created.rid +1 -0
- data/docs/api/files/COPYING.html +163 -0
- data/docs/api/files/GPL.html +531 -0
- data/docs/api/files/README.html +401 -0
- data/docs/api/files/lib/hash_attrs_rb.html +107 -0
- data/docs/api/files/lib/icalendar/base_rb.html +108 -0
- data/docs/api/files/lib/icalendar/calendar_rb.html +101 -0
- data/docs/api/files/lib/icalendar/component/alarm_rb.html +101 -0
- data/docs/api/files/lib/icalendar/component/event_rb.html +101 -0
- data/docs/api/files/lib/icalendar/component/freebusy_rb.html +101 -0
- data/docs/api/files/lib/icalendar/component/journal_rb.html +101 -0
- data/docs/api/files/lib/icalendar/component/timezone_rb.html +101 -0
- data/docs/api/files/lib/icalendar/component/todo_rb.html +101 -0
- data/docs/api/files/lib/icalendar/component_rb.html +108 -0
- data/docs/api/files/lib/icalendar/conversions_rb.html +109 -0
- data/docs/api/files/lib/icalendar/helpers_rb.html +101 -0
- data/docs/api/files/lib/icalendar/parameter_rb.html +101 -0
- data/docs/api/files/lib/icalendar/parser_rb.html +110 -0
- data/docs/api/files/lib/icalendar/rrule_rb.html +110 -0
- data/docs/api/files/lib/icalendar/tzinfo_rb.html +101 -0
- data/docs/api/files/lib/icalendar_rb.html +121 -0
- data/docs/api/files/lib/meta_rb.html +107 -0
- data/docs/api/fr_class_index.html +64 -0
- data/docs/api/fr_file_index.html +47 -0
- data/docs/api/fr_method_index.html +123 -0
- data/docs/api/index.html +24 -0
- data/docs/api/rdoc-style.css +208 -0
- data/lib/icalendar.rb +1 -0
- data/lib/icalendar/component.rb +3 -3
- data/lib/icalendar/component/event.rb +1 -1
- data/lib/icalendar/component/freebusy.rb +1 -0
- data/lib/icalendar/conversions.rb +6 -0
- data/lib/icalendar/conversions.rb.orig +144 -0
- data/lib/icalendar/parser.rb +0 -94
- data/lib/icalendar/rrule.rb +133 -0
- data/test/component/timezone_test.rb +1 -1
- data/test/component_test.rb +10 -0
- data/test/conversions_test.rb +4 -4
- data/test/coverage/index.html +272 -0
- data/test/coverage/lib-hash_attrs_rb.html +235 -0
- data/test/coverage/lib-icalendar-base_rb.html +249 -0
- data/test/coverage/lib-icalendar-calendar_rb.html +324 -0
- data/test/coverage/lib-icalendar-component-alarm_rb.html +250 -0
- data/test/coverage/lib-icalendar-component-event_rb.html +353 -0
- data/test/coverage/lib-icalendar-component-freebusy_rb.html +245 -0
- data/test/coverage/lib-icalendar-component-journal_rb.html +278 -0
- data/test/coverage/lib-icalendar-component-timezone_rb.html +326 -0
- data/test/coverage/lib-icalendar-component-todo_rb.html +277 -0
- data/test/coverage/lib-icalendar-component_rb.html +733 -0
- data/test/coverage/lib-icalendar-conversions_rb.html +358 -0
- data/test/coverage/lib-icalendar-parser_rb.html +671 -0
- data/test/coverage/lib-icalendar-rrule_rb.html +357 -0
- data/test/coverage/lib-icalendar_rb.html +243 -0
- data/test/coverage/lib-meta_rb.html +234 -0
- data/test/fixtures/folding.ics +2 -2
- metadata +113 -36
- data/docs/api/STUB +0 -0
@@ -0,0 +1,671 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: Icalendar::Event</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">Icalendar::Event</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/icalendar/component/event_rb.html">
|
59
|
+
lib/icalendar/component/event.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
<a href="Component.html">
|
69
|
+
Component
|
70
|
+
</a>
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</table>
|
74
|
+
</div>
|
75
|
+
<!-- banner header -->
|
76
|
+
|
77
|
+
<div id="bodyContent">
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<div id="contextContent">
|
82
|
+
|
83
|
+
<div id="description">
|
84
|
+
<p>
|
85
|
+
A <a href="Event.html">Event</a> calendar component is a grouping of
|
86
|
+
component properties, and possibly including <a href="Alarm.html">Alarm</a>
|
87
|
+
calendar components, that represents a scheduled amount of time on a
|
88
|
+
calendar. For example, it can be an activity; such as a one-hour long,
|
89
|
+
department meeting from 8:00 AM to 9:00 AM, tomorrow. Generally, an event
|
90
|
+
will take up time on an individual calendar.
|
91
|
+
</p>
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<div id="method-list">
|
99
|
+
<h3 class="section-bar">Methods</h3>
|
100
|
+
|
101
|
+
<div class="name-list">
|
102
|
+
<a href="#M000057">alarm</a>
|
103
|
+
<a href="#M000056">new</a>
|
104
|
+
<a href="#M000058">occurrences_starting</a>
|
105
|
+
</div>
|
106
|
+
</div>
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
|
111
|
+
<!-- if includes -->
|
112
|
+
|
113
|
+
<div id="section">
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
<div id="attribute-list">
|
120
|
+
<h3 class="section-bar">Attributes</h3>
|
121
|
+
|
122
|
+
<div class="name-list">
|
123
|
+
<table>
|
124
|
+
<tr class="top-aligned-row context-row">
|
125
|
+
<td class="context-item-name">alarms</td>
|
126
|
+
<td class="context-item-value"> </td>
|
127
|
+
<td class="context-item-desc"></td>
|
128
|
+
</tr>
|
129
|
+
<tr class="top-aligned-row context-row">
|
130
|
+
<td class="context-item-name">attach</td>
|
131
|
+
<td class="context-item-value"> </td>
|
132
|
+
<td class="context-item-desc">
|
133
|
+
Associates a <a href="../URI.html">URI</a> or binary blob with this item
|
134
|
+
|
135
|
+
</td>
|
136
|
+
</tr>
|
137
|
+
<tr class="top-aligned-row context-row">
|
138
|
+
<td class="context-item-name">attachment</td>
|
139
|
+
<td class="context-item-value"> </td>
|
140
|
+
<td class="context-item-desc">
|
141
|
+
Associates a <a href="../URI.html">URI</a> or binary blob with this item
|
142
|
+
|
143
|
+
</td>
|
144
|
+
</tr>
|
145
|
+
<tr class="top-aligned-row context-row">
|
146
|
+
<td class="context-item-name">attachments</td>
|
147
|
+
<td class="context-item-value"> </td>
|
148
|
+
<td class="context-item-desc">
|
149
|
+
Associates a <a href="../URI.html">URI</a> or binary blob with this item
|
150
|
+
|
151
|
+
</td>
|
152
|
+
</tr>
|
153
|
+
<tr class="top-aligned-row context-row">
|
154
|
+
<td class="context-item-name">categories</td>
|
155
|
+
<td class="context-item-value"> </td>
|
156
|
+
<td class="context-item-desc">
|
157
|
+
Defines the categories for a calendar component (school, work…)
|
158
|
+
|
159
|
+
</td>
|
160
|
+
</tr>
|
161
|
+
<tr class="top-aligned-row context-row">
|
162
|
+
<td class="context-item-name">categories</td>
|
163
|
+
<td class="context-item-value"> </td>
|
164
|
+
<td class="context-item-desc">
|
165
|
+
Defines the categories for a calendar component (school, work…)
|
166
|
+
|
167
|
+
</td>
|
168
|
+
</tr>
|
169
|
+
<tr class="top-aligned-row context-row">
|
170
|
+
<td class="context-item-name">category</td>
|
171
|
+
<td class="context-item-value"> </td>
|
172
|
+
<td class="context-item-desc">
|
173
|
+
Defines the categories for a calendar component (school, work…)
|
174
|
+
|
175
|
+
</td>
|
176
|
+
</tr>
|
177
|
+
<tr class="top-aligned-row context-row">
|
178
|
+
<td class="context-item-name">comment</td>
|
179
|
+
<td class="context-item-value"> </td>
|
180
|
+
<td class="context-item-desc">
|
181
|
+
Simple comment for the calendar user.
|
182
|
+
|
183
|
+
</td>
|
184
|
+
</tr>
|
185
|
+
<tr class="top-aligned-row context-row">
|
186
|
+
<td class="context-item-name">comment</td>
|
187
|
+
<td class="context-item-value"> </td>
|
188
|
+
<td class="context-item-desc">
|
189
|
+
Simple comment for the calendar user.
|
190
|
+
|
191
|
+
</td>
|
192
|
+
</tr>
|
193
|
+
<tr class="top-aligned-row context-row">
|
194
|
+
<td class="context-item-name">comments</td>
|
195
|
+
<td class="context-item-value"> </td>
|
196
|
+
<td class="context-item-desc">
|
197
|
+
Simple comment for the calendar user.
|
198
|
+
|
199
|
+
</td>
|
200
|
+
</tr>
|
201
|
+
<tr class="top-aligned-row context-row">
|
202
|
+
<td class="context-item-name">contact</td>
|
203
|
+
<td class="context-item-value"> </td>
|
204
|
+
<td class="context-item-desc">
|
205
|
+
Contact information associated with this item.
|
206
|
+
|
207
|
+
</td>
|
208
|
+
</tr>
|
209
|
+
<tr class="top-aligned-row context-row">
|
210
|
+
<td class="context-item-name">contact</td>
|
211
|
+
<td class="context-item-value"> </td>
|
212
|
+
<td class="context-item-desc">
|
213
|
+
Contact information associated with this item.
|
214
|
+
|
215
|
+
</td>
|
216
|
+
</tr>
|
217
|
+
<tr class="top-aligned-row context-row">
|
218
|
+
<td class="context-item-name">contacts</td>
|
219
|
+
<td class="context-item-value"> </td>
|
220
|
+
<td class="context-item-desc">
|
221
|
+
Contact information associated with this item.
|
222
|
+
|
223
|
+
</td>
|
224
|
+
</tr>
|
225
|
+
<tr class="top-aligned-row context-row">
|
226
|
+
<td class="context-item-name">created</td>
|
227
|
+
<td class="context-item-value"> </td>
|
228
|
+
<td class="context-item-desc">
|
229
|
+
<a href="../Date.html">Date</a> & time of creation
|
230
|
+
|
231
|
+
</td>
|
232
|
+
</tr>
|
233
|
+
<tr class="top-aligned-row context-row">
|
234
|
+
<td class="context-item-name">description</td>
|
235
|
+
<td class="context-item-value"> </td>
|
236
|
+
<td class="context-item-desc">
|
237
|
+
Complete description of the calendar component
|
238
|
+
|
239
|
+
</td>
|
240
|
+
</tr>
|
241
|
+
<tr class="top-aligned-row context-row">
|
242
|
+
<td class="context-item-name">dtend</td>
|
243
|
+
<td class="context-item-value"> </td>
|
244
|
+
<td class="context-item-desc">
|
245
|
+
Specifies a date and time that this item ends
|
246
|
+
|
247
|
+
</td>
|
248
|
+
</tr>
|
249
|
+
<tr class="top-aligned-row context-row">
|
250
|
+
<td class="context-item-name">dtstamp</td>
|
251
|
+
<td class="context-item-value"> </td>
|
252
|
+
<td class="context-item-desc">
|
253
|
+
Indicate date & time when this item was created
|
254
|
+
|
255
|
+
</td>
|
256
|
+
</tr>
|
257
|
+
<tr class="top-aligned-row context-row">
|
258
|
+
<td class="context-item-name">dtstart</td>
|
259
|
+
<td class="context-item-value"> </td>
|
260
|
+
<td class="context-item-desc">
|
261
|
+
Specifies date-time when calendar component begins
|
262
|
+
|
263
|
+
</td>
|
264
|
+
</tr>
|
265
|
+
<tr class="top-aligned-row context-row">
|
266
|
+
<td class="context-item-name">duration</td>
|
267
|
+
<td class="context-item-value"> </td>
|
268
|
+
<td class="context-item-desc">
|
269
|
+
Specifies a positive duration time
|
270
|
+
|
271
|
+
</td>
|
272
|
+
</tr>
|
273
|
+
<tr class="top-aligned-row context-row">
|
274
|
+
<td class="context-item-name">end</td>
|
275
|
+
<td class="context-item-value"> </td>
|
276
|
+
<td class="context-item-desc">
|
277
|
+
Specifies a date and time that this item ends
|
278
|
+
|
279
|
+
</td>
|
280
|
+
</tr>
|
281
|
+
<tr class="top-aligned-row context-row">
|
282
|
+
<td class="context-item-name">exception_date</td>
|
283
|
+
<td class="context-item-value"> </td>
|
284
|
+
<td class="context-item-desc"></td>
|
285
|
+
</tr>
|
286
|
+
<tr class="top-aligned-row context-row">
|
287
|
+
<td class="context-item-name">exception_dates</td>
|
288
|
+
<td class="context-item-value"> </td>
|
289
|
+
<td class="context-item-desc"></td>
|
290
|
+
</tr>
|
291
|
+
<tr class="top-aligned-row context-row">
|
292
|
+
<td class="context-item-name">exception_rule</td>
|
293
|
+
<td class="context-item-value"> </td>
|
294
|
+
<td class="context-item-desc"></td>
|
295
|
+
</tr>
|
296
|
+
<tr class="top-aligned-row context-row">
|
297
|
+
<td class="context-item-name">exception_rules</td>
|
298
|
+
<td class="context-item-value"> </td>
|
299
|
+
<td class="context-item-desc"></td>
|
300
|
+
</tr>
|
301
|
+
<tr class="top-aligned-row context-row">
|
302
|
+
<td class="context-item-name">exdate</td>
|
303
|
+
<td class="context-item-value"> </td>
|
304
|
+
<td class="context-item-desc"></td>
|
305
|
+
</tr>
|
306
|
+
<tr class="top-aligned-row context-row">
|
307
|
+
<td class="context-item-name">exrule</td>
|
308
|
+
<td class="context-item-value"> </td>
|
309
|
+
<td class="context-item-desc"></td>
|
310
|
+
</tr>
|
311
|
+
<tr class="top-aligned-row context-row">
|
312
|
+
<td class="context-item-name">geo</td>
|
313
|
+
<td class="context-item-value"> </td>
|
314
|
+
<td class="context-item-desc">
|
315
|
+
Latitude & longitude for specified activity
|
316
|
+
|
317
|
+
</td>
|
318
|
+
</tr>
|
319
|
+
<tr class="top-aligned-row context-row">
|
320
|
+
<td class="context-item-name">geo_location</td>
|
321
|
+
<td class="context-item-value"> </td>
|
322
|
+
<td class="context-item-desc">
|
323
|
+
Latitude & longitude for specified activity
|
324
|
+
|
325
|
+
</td>
|
326
|
+
</tr>
|
327
|
+
<tr class="top-aligned-row context-row">
|
328
|
+
<td class="context-item-name">ip_class</td>
|
329
|
+
<td class="context-item-value"> </td>
|
330
|
+
<td class="context-item-desc">
|
331
|
+
Access classification (PUBLIC, PRIVATE, CONFIDENTIAL…)
|
332
|
+
|
333
|
+
</td>
|
334
|
+
</tr>
|
335
|
+
<tr class="top-aligned-row context-row">
|
336
|
+
<td class="context-item-name">klass</td>
|
337
|
+
<td class="context-item-value"> </td>
|
338
|
+
<td class="context-item-desc">
|
339
|
+
Access classification (PUBLIC, PRIVATE, CONFIDENTIAL…)
|
340
|
+
|
341
|
+
</td>
|
342
|
+
</tr>
|
343
|
+
<tr class="top-aligned-row context-row">
|
344
|
+
<td class="context-item-name">last_modified</td>
|
345
|
+
<td class="context-item-value"> </td>
|
346
|
+
<td class="context-item-desc">
|
347
|
+
<a href="../Date.html">Date</a> & time this item was last modified
|
348
|
+
|
349
|
+
</td>
|
350
|
+
</tr>
|
351
|
+
<tr class="top-aligned-row context-row">
|
352
|
+
<td class="context-item-name">location</td>
|
353
|
+
<td class="context-item-value"> </td>
|
354
|
+
<td class="context-item-desc">
|
355
|
+
Specifies the intended venue for this activity
|
356
|
+
|
357
|
+
</td>
|
358
|
+
</tr>
|
359
|
+
<tr class="top-aligned-row context-row">
|
360
|
+
<td class="context-item-name">organizer</td>
|
361
|
+
<td class="context-item-value"> </td>
|
362
|
+
<td class="context-item-desc">
|
363
|
+
Defines organizer of this item
|
364
|
+
|
365
|
+
</td>
|
366
|
+
</tr>
|
367
|
+
<tr class="top-aligned-row context-row">
|
368
|
+
<td class="context-item-name">priority</td>
|
369
|
+
<td class="context-item-value"> </td>
|
370
|
+
<td class="context-item-desc">
|
371
|
+
Defines relative priority for this item (1-9… 1 = best)
|
372
|
+
|
373
|
+
</td>
|
374
|
+
</tr>
|
375
|
+
<tr class="top-aligned-row context-row">
|
376
|
+
<td class="context-item-name">rdate</td>
|
377
|
+
<td class="context-item-value"> </td>
|
378
|
+
<td class="context-item-desc">
|
379
|
+
Used with the UID & SEQUENCE to identify a specific instance of a
|
380
|
+
recurring calendar item.
|
381
|
+
|
382
|
+
</td>
|
383
|
+
</tr>
|
384
|
+
<tr class="top-aligned-row context-row">
|
385
|
+
<td class="context-item-name">recurid</td>
|
386
|
+
<td class="context-item-value"> </td>
|
387
|
+
<td class="context-item-desc"></td>
|
388
|
+
</tr>
|
389
|
+
<tr class="top-aligned-row context-row">
|
390
|
+
<td class="context-item-name">recurrence_date</td>
|
391
|
+
<td class="context-item-value"> </td>
|
392
|
+
<td class="context-item-desc">
|
393
|
+
Used with the UID & SEQUENCE to identify a specific instance of a
|
394
|
+
recurring calendar item.
|
395
|
+
|
396
|
+
</td>
|
397
|
+
</tr>
|
398
|
+
<tr class="top-aligned-row context-row">
|
399
|
+
<td class="context-item-name">recurrence_dates</td>
|
400
|
+
<td class="context-item-value"> </td>
|
401
|
+
<td class="context-item-desc">
|
402
|
+
Used with the UID & SEQUENCE to identify a specific instance of a
|
403
|
+
recurring calendar item.
|
404
|
+
|
405
|
+
</td>
|
406
|
+
</tr>
|
407
|
+
<tr class="top-aligned-row context-row">
|
408
|
+
<td class="context-item-name">recurrence_id</td>
|
409
|
+
<td class="context-item-value"> </td>
|
410
|
+
<td class="context-item-desc"></td>
|
411
|
+
</tr>
|
412
|
+
<tr class="top-aligned-row context-row">
|
413
|
+
<td class="context-item-name">recurrence_rule</td>
|
414
|
+
<td class="context-item-value"> </td>
|
415
|
+
<td class="context-item-desc"></td>
|
416
|
+
</tr>
|
417
|
+
<tr class="top-aligned-row context-row">
|
418
|
+
<td class="context-item-name">recurrence_rules</td>
|
419
|
+
<td class="context-item-value"> </td>
|
420
|
+
<td class="context-item-desc"></td>
|
421
|
+
</tr>
|
422
|
+
<tr class="top-aligned-row context-row">
|
423
|
+
<td class="context-item-name">related_to</td>
|
424
|
+
<td class="context-item-value"> </td>
|
425
|
+
<td class="context-item-desc">
|
426
|
+
Used to represent a relationship between two calendar items
|
427
|
+
|
428
|
+
</td>
|
429
|
+
</tr>
|
430
|
+
<tr class="top-aligned-row context-row">
|
431
|
+
<td class="context-item-name">related_to</td>
|
432
|
+
<td class="context-item-value"> </td>
|
433
|
+
<td class="context-item-desc">
|
434
|
+
Used to represent a relationship between two calendar items
|
435
|
+
|
436
|
+
</td>
|
437
|
+
</tr>
|
438
|
+
<tr class="top-aligned-row context-row">
|
439
|
+
<td class="context-item-name">related_tos</td>
|
440
|
+
<td class="context-item-value"> </td>
|
441
|
+
<td class="context-item-desc">
|
442
|
+
Used to represent a relationship between two calendar items
|
443
|
+
|
444
|
+
</td>
|
445
|
+
</tr>
|
446
|
+
<tr class="top-aligned-row context-row">
|
447
|
+
<td class="context-item-name">request_status</td>
|
448
|
+
<td class="context-item-value"> </td>
|
449
|
+
<td class="context-item-desc"></td>
|
450
|
+
</tr>
|
451
|
+
<tr class="top-aligned-row context-row">
|
452
|
+
<td class="context-item-name">request_statuses</td>
|
453
|
+
<td class="context-item-value"> </td>
|
454
|
+
<td class="context-item-desc"></td>
|
455
|
+
</tr>
|
456
|
+
<tr class="top-aligned-row context-row">
|
457
|
+
<td class="context-item-name">resource</td>
|
458
|
+
<td class="context-item-value"> </td>
|
459
|
+
<td class="context-item-desc"></td>
|
460
|
+
</tr>
|
461
|
+
<tr class="top-aligned-row context-row">
|
462
|
+
<td class="context-item-name">resources</td>
|
463
|
+
<td class="context-item-value"> </td>
|
464
|
+
<td class="context-item-desc"></td>
|
465
|
+
</tr>
|
466
|
+
<tr class="top-aligned-row context-row">
|
467
|
+
<td class="context-item-name">resources</td>
|
468
|
+
<td class="context-item-value"> </td>
|
469
|
+
<td class="context-item-desc"></td>
|
470
|
+
</tr>
|
471
|
+
<tr class="top-aligned-row context-row">
|
472
|
+
<td class="context-item-name">rrule</td>
|
473
|
+
<td class="context-item-value"> </td>
|
474
|
+
<td class="context-item-desc"></td>
|
475
|
+
</tr>
|
476
|
+
<tr class="top-aligned-row context-row">
|
477
|
+
<td class="context-item-name">rstatus</td>
|
478
|
+
<td class="context-item-value"> </td>
|
479
|
+
<td class="context-item-desc"></td>
|
480
|
+
</tr>
|
481
|
+
<tr class="top-aligned-row context-row">
|
482
|
+
<td class="context-item-name">seq</td>
|
483
|
+
<td class="context-item-value"> </td>
|
484
|
+
<td class="context-item-desc">
|
485
|
+
Revision sequence number for this item
|
486
|
+
|
487
|
+
</td>
|
488
|
+
</tr>
|
489
|
+
<tr class="top-aligned-row context-row">
|
490
|
+
<td class="context-item-name">sequence</td>
|
491
|
+
<td class="context-item-value"> </td>
|
492
|
+
<td class="context-item-desc">
|
493
|
+
Revision sequence number for this item
|
494
|
+
|
495
|
+
</td>
|
496
|
+
</tr>
|
497
|
+
<tr class="top-aligned-row context-row">
|
498
|
+
<td class="context-item-name">start</td>
|
499
|
+
<td class="context-item-value"> </td>
|
500
|
+
<td class="context-item-desc">
|
501
|
+
Specifies date-time when calendar component begins
|
502
|
+
|
503
|
+
</td>
|
504
|
+
</tr>
|
505
|
+
<tr class="top-aligned-row context-row">
|
506
|
+
<td class="context-item-name">status</td>
|
507
|
+
<td class="context-item-value"> </td>
|
508
|
+
<td class="context-item-desc">
|
509
|
+
Defines overall status or confirmation of this item
|
510
|
+
|
511
|
+
</td>
|
512
|
+
</tr>
|
513
|
+
<tr class="top-aligned-row context-row">
|
514
|
+
<td class="context-item-name">summary</td>
|
515
|
+
<td class="context-item-value"> </td>
|
516
|
+
<td class="context-item-desc"></td>
|
517
|
+
</tr>
|
518
|
+
<tr class="top-aligned-row context-row">
|
519
|
+
<td class="context-item-name">timestamp</td>
|
520
|
+
<td class="context-item-value"> </td>
|
521
|
+
<td class="context-item-desc">
|
522
|
+
Indicate date & time when this item was created
|
523
|
+
|
524
|
+
</td>
|
525
|
+
</tr>
|
526
|
+
<tr class="top-aligned-row context-row">
|
527
|
+
<td class="context-item-name">transp</td>
|
528
|
+
<td class="context-item-value"> </td>
|
529
|
+
<td class="context-item-desc"></td>
|
530
|
+
</tr>
|
531
|
+
<tr class="top-aligned-row context-row">
|
532
|
+
<td class="context-item-name">transparency</td>
|
533
|
+
<td class="context-item-value"> </td>
|
534
|
+
<td class="context-item-desc"></td>
|
535
|
+
</tr>
|
536
|
+
<tr class="top-aligned-row context-row">
|
537
|
+
<td class="context-item-name">tzid</td>
|
538
|
+
<td class="context-item-value"> [RW] </td>
|
539
|
+
<td class="context-item-desc">
|
540
|
+
Specifies the timezone for the event
|
541
|
+
|
542
|
+
</td>
|
543
|
+
</tr>
|
544
|
+
<tr class="top-aligned-row context-row">
|
545
|
+
<td class="context-item-name">uid</td>
|
546
|
+
<td class="context-item-value"> </td>
|
547
|
+
<td class="context-item-desc">
|
548
|
+
Defines a persistent, globally unique id for this item
|
549
|
+
|
550
|
+
</td>
|
551
|
+
</tr>
|
552
|
+
<tr class="top-aligned-row context-row">
|
553
|
+
<td class="context-item-name">unique_id</td>
|
554
|
+
<td class="context-item-value"> </td>
|
555
|
+
<td class="context-item-desc">
|
556
|
+
Defines a persistent, globally unique id for this item
|
557
|
+
|
558
|
+
</td>
|
559
|
+
</tr>
|
560
|
+
<tr class="top-aligned-row context-row">
|
561
|
+
<td class="context-item-name">url</td>
|
562
|
+
<td class="context-item-value"> </td>
|
563
|
+
<td class="context-item-desc">
|
564
|
+
Defines a URL associated with this item
|
565
|
+
|
566
|
+
</td>
|
567
|
+
</tr>
|
568
|
+
</table>
|
569
|
+
</div>
|
570
|
+
</div>
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
<!-- if method_list -->
|
575
|
+
<div id="methods">
|
576
|
+
<h3 class="section-bar">Public Class methods</h3>
|
577
|
+
|
578
|
+
<div id="method-M000056" class="method-detail">
|
579
|
+
<a name="M000056"></a>
|
580
|
+
|
581
|
+
<div class="method-heading">
|
582
|
+
<a href="#M000056" class="method-signature">
|
583
|
+
<span class="method-name">new</span><span class="method-args">()</span>
|
584
|
+
</a>
|
585
|
+
</div>
|
586
|
+
|
587
|
+
<div class="method-description">
|
588
|
+
<p><a class="source-toggle" href="#"
|
589
|
+
onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
|
590
|
+
<div class="method-source-code" id="M000056-source">
|
591
|
+
<pre>
|
592
|
+
<span class="ruby-comment cmt"># File lib/icalendar/component/event.rb, line 106</span>
|
593
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>()
|
594
|
+
<span class="ruby-keyword kw">super</span>(<span class="ruby-value str">"VEVENT"</span>)
|
595
|
+
|
596
|
+
<span class="ruby-comment cmt"># Now doing some basic initialization</span>
|
597
|
+
<span class="ruby-identifier">sequence</span> <span class="ruby-value">0</span>
|
598
|
+
<span class="ruby-identifier">timestamp</span> <span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">now</span>
|
599
|
+
<span class="ruby-identifier">uid</span> <span class="ruby-identifier">new_uid</span>
|
600
|
+
<span class="ruby-keyword kw">end</span>
|
601
|
+
</pre>
|
602
|
+
</div>
|
603
|
+
</div>
|
604
|
+
</div>
|
605
|
+
|
606
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
607
|
+
|
608
|
+
<div id="method-M000057" class="method-detail">
|
609
|
+
<a name="M000057"></a>
|
610
|
+
|
611
|
+
<div class="method-heading">
|
612
|
+
<a href="#M000057" class="method-signature">
|
613
|
+
<span class="method-name">alarm</span><span class="method-args">(&block)</span>
|
614
|
+
</a>
|
615
|
+
</div>
|
616
|
+
|
617
|
+
<div class="method-description">
|
618
|
+
<p><a class="source-toggle" href="#"
|
619
|
+
onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
|
620
|
+
<div class="method-source-code" id="M000057-source">
|
621
|
+
<pre>
|
622
|
+
<span class="ruby-comment cmt"># File lib/icalendar/component/event.rb, line 115</span>
|
623
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">alarm</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
624
|
+
<span class="ruby-identifier">a</span> = <span class="ruby-constant">Alarm</span>.<span class="ruby-identifier">new</span>
|
625
|
+
<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">add</span> <span class="ruby-identifier">a</span>
|
626
|
+
|
627
|
+
<span class="ruby-identifier">a</span>.<span class="ruby-identifier">instance_eval</span> <span class="ruby-operator">&</span><span class="ruby-identifier">block</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">block</span>
|
628
|
+
|
629
|
+
<span class="ruby-identifier">a</span>
|
630
|
+
<span class="ruby-keyword kw">end</span>
|
631
|
+
</pre>
|
632
|
+
</div>
|
633
|
+
</div>
|
634
|
+
</div>
|
635
|
+
|
636
|
+
<div id="method-M000058" class="method-detail">
|
637
|
+
<a name="M000058"></a>
|
638
|
+
|
639
|
+
<div class="method-heading">
|
640
|
+
<a href="#M000058" class="method-signature">
|
641
|
+
<span class="method-name">occurrences_starting</span><span class="method-args">(time)</span>
|
642
|
+
</a>
|
643
|
+
</div>
|
644
|
+
|
645
|
+
<div class="method-description">
|
646
|
+
<p><a class="source-toggle" href="#"
|
647
|
+
onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
|
648
|
+
<div class="method-source-code" id="M000058-source">
|
649
|
+
<pre>
|
650
|
+
<span class="ruby-comment cmt"># File lib/icalendar/component/event.rb, line 124</span>
|
651
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">occurrences_starting</span>(<span class="ruby-identifier">time</span>)
|
652
|
+
<span class="ruby-identifier">recurrence_rules</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">occurrences_of_event_starting</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">time</span>)
|
653
|
+
<span class="ruby-keyword kw">end</span>
|
654
|
+
</pre>
|
655
|
+
</div>
|
656
|
+
</div>
|
657
|
+
</div>
|
658
|
+
|
659
|
+
|
660
|
+
</div>
|
661
|
+
|
662
|
+
|
663
|
+
</div>
|
664
|
+
|
665
|
+
|
666
|
+
<div id="validator-badges">
|
667
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
668
|
+
</div>
|
669
|
+
|
670
|
+
</body>
|
671
|
+
</html>
|