sdl4r 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,11 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: SDL4R::SdlParseError [RDoc: Simple Declarative Language for Ruby]</title>
8
+ <title>Class: SDL4R::SdlParseError</title>
6
9
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,115 +55,93 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../../files/lib/sdl4r/sdl_parse_error_rb.html">
57
-
58
59
  lib/sdl4r/sdl_parse_error.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  <tr class="top-aligned-row">
70
66
  <td><strong>Parent:</strong></td>
71
67
  <td>
72
-
73
68
  StandardError
74
-
75
69
  </td>
76
70
  </tr>
77
-
78
71
  </table>
79
72
  </div>
80
73
  <!-- banner header -->
81
74
 
82
75
  <div id="bodyContent">
83
76
 
77
+
78
+
84
79
  <div id="contextContent">
85
80
 
86
81
  <div id="description">
87
82
  <p>
88
- An exception describing a problem with an SDL document&#8217;s structure
83
+ An exception describing a problem with an SDL document&#8216;s structure
89
84
  </p>
90
85
 
91
86
  </div>
92
87
 
93
- </div>
94
88
 
89
+ </div>
95
90
 
96
91
  <div id="method-list">
97
92
  <h3 class="section-bar">Methods</h3>
98
93
 
99
94
  <div class="name-list">
100
-
101
- <a href="#M000037">new</a>&nbsp;&nbsp;
102
-
95
+ <a href="#M000061">new</a>&nbsp;&nbsp;
103
96
  </div>
104
97
  </div>
105
98
 
106
99
  </div>
107
100
 
101
+
108
102
  <!-- if includes -->
109
103
 
110
104
  <div id="section">
111
105
 
112
106
 
113
107
 
108
+
109
+
114
110
  <div id="attribute-list">
115
111
  <h3 class="section-bar">Attributes</h3>
116
112
 
117
113
  <div class="name-list">
118
114
  <table>
119
-
120
115
  <tr class="top-aligned-row context-row">
121
116
  <td class="context-item-name">line</td>
122
-
123
117
  <td class="context-item-value">&nbsp;[R]&nbsp;</td>
124
-
125
118
  <td class="context-item-desc"></td>
126
119
  </tr>
127
-
128
120
  <tr class="top-aligned-row context-row">
129
121
  <td class="context-item-name">position</td>
130
-
131
122
  <td class="context-item-value">&nbsp;[R]&nbsp;</td>
132
-
133
123
  <td class="context-item-desc"></td>
134
124
  </tr>
135
-
136
125
  </table>
137
126
  </div>
138
127
  </div>
128
+
139
129
 
140
130
 
141
131
  <!-- if method_list -->
142
-
143
132
  <div id="methods">
144
-
145
133
  <h3 class="section-bar">Public Class methods</h3>
146
134
 
147
-
148
- <div id="method-M000037" class="method-detail">
149
- <a name="M000037"></a>
135
+ <div id="method-M000061" class="method-detail">
136
+ <a name="M000061"></a>
150
137
 
151
138
  <div class="method-heading">
152
-
153
- <a href="#M000037" class="method-signature">
154
-
139
+ <a href="#M000061" class="method-signature">
155
140
  <span class="method-name">new</span><span class="method-args">(description, line_no, position, line = nil)</span>
156
-
157
141
  </a>
158
-
159
142
  </div>
160
-
143
+
161
144
  <div class="method-description">
162
-
163
145
  <p>
164
146
  Note: Line and positioning numbering start with 1 rather than 0 to be
165
147
  consistent with most editors.
@@ -169,10 +151,9 @@ consistent with most editors.
169
151
  on which the error occured or -1 for unknown <tt>position</tt> The position
170
152
  (within the line) where the error occured or -1 for unknown
171
153
  </p>
172
-
173
154
  <p><a class="source-toggle" href="#"
174
- onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
175
- <div class="method-source-code" id="M000037-source">
155
+ onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
156
+ <div class="method-source-code" id="M000061-source">
176
157
  <pre>
177
158
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_parse_error.rb, line 36</span>
178
159
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">description</span>, <span class="ruby-identifier">line_no</span>, <span class="ruby-identifier">position</span>, <span class="ruby-identifier">line</span> = <span class="ruby-keyword kw">nil</span>)
@@ -186,22 +167,19 @@ on which the error occured or -1 for unknown <tt>position</tt> The position
186
167
  <span class="ruby-keyword kw">end</span>
187
168
  </pre>
188
169
  </div>
189
-
190
170
  </div>
191
171
  </div>
192
172
 
193
173
 
194
-
195
174
  </div>
196
175
 
197
176
 
198
-
199
-
200
177
  </div>
201
178
 
179
+
202
180
  <div id="validator-badges">
203
181
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
204
182
  </div>
205
183
 
206
184
  </body>
207
- </html>
185
+ </html>
@@ -1,8 +1,11 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
3
6
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
7
  <head>
5
- <title>Class: SDL4R::SdlTimeSpan [RDoc: Simple Declarative Language for Ruby]</title>
8
+ <title>Class: SDL4R::SdlTimeSpan</title>
6
9
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
10
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
8
11
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
@@ -22,7 +25,7 @@
22
25
  return false;
23
26
 
24
27
  elemStyle = elem.style;
25
-
28
+
26
29
  if ( elemStyle.display != "block" ) {
27
30
  elemStyle.display = "block"
28
31
  } else {
@@ -31,10 +34,10 @@
31
34
 
32
35
  return true;
33
36
  }
34
-
37
+
35
38
  // Make codeblocks hidden by default
36
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
37
-
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
38
41
  // ]]>
39
42
  </script>
40
43
 
@@ -42,6 +45,7 @@
42
45
  <body>
43
46
 
44
47
 
48
+
45
49
  <div id="classHeader">
46
50
  <table class="header-table">
47
51
  <tr class="top-aligned-row">
@@ -51,36 +55,27 @@
51
55
  <tr class="top-aligned-row">
52
56
  <td><strong>In:</strong></td>
53
57
  <td>
54
-
55
-
56
58
  <a href="../../files/lib/sdl4r/sdl_time_span_rb.html">
57
-
58
59
  lib/sdl4r/sdl_time_span.rb
59
-
60
60
  </a>
61
-
62
-
63
61
  <br />
64
-
65
62
  </td>
66
63
  </tr>
67
64
 
68
-
69
65
  <tr class="top-aligned-row">
70
66
  <td><strong>Parent:</strong></td>
71
67
  <td>
72
-
73
68
  Object
74
-
75
69
  </td>
76
70
  </tr>
77
-
78
71
  </table>
79
72
  </div>
80
73
  <!-- banner header -->
81
74
 
82
75
  <div id="bodyContent">
83
76
 
77
+
78
+
84
79
  <div id="contextContent">
85
80
 
86
81
  <div id="description">
@@ -91,150 +86,106 @@ time (which would be represented using a Date, DateTime or Time instance).
91
86
 
92
87
  </div>
93
88
 
94
- </div>
95
89
 
90
+ </div>
96
91
 
97
92
  <div id="method-list">
98
93
  <h3 class="section-bar">Methods</h3>
99
94
 
100
95
  <div class="name-list">
101
-
102
- <a href="#M000035">&lt;=&gt;</a>&nbsp;&nbsp;
103
-
104
- <a href="#M000034">==</a>&nbsp;&nbsp;
105
-
106
- <a href="#M000013">day</a>&nbsp;&nbsp;
107
-
108
- <a href="#M000012">days</a>&nbsp;&nbsp;
109
-
110
- <a href="#M000033">eql?</a>&nbsp;&nbsp;
111
-
112
- <a href="#M000032">hash</a>&nbsp;&nbsp;
113
-
114
- <a href="#M000015">hour</a>&nbsp;&nbsp;
115
-
116
- <a href="#M000014">hours</a>&nbsp;&nbsp;
117
-
118
- <a href="#M000020">milliseconds</a>&nbsp;&nbsp;
119
-
120
- <a href="#M000017">min</a>&nbsp;&nbsp;
121
-
122
- <a href="#M000016">minutes</a>&nbsp;&nbsp;
123
-
124
- <a href="#M000026">negate</a>&nbsp;&nbsp;
125
-
126
- <a href="#M000010">new</a>&nbsp;&nbsp;
127
-
128
- <a href="#M000027">roll_days</a>&nbsp;&nbsp;
129
-
130
- <a href="#M000028">roll_hours</a>&nbsp;&nbsp;
131
-
132
- <a href="#M000031">roll_milliseconds</a>&nbsp;&nbsp;
133
-
134
- <a href="#M000029">roll_minutes</a>&nbsp;&nbsp;
135
-
136
- <a href="#M000030">roll_seconds</a>&nbsp;&nbsp;
137
-
138
- <a href="#M000019">sec</a>&nbsp;&nbsp;
139
-
140
- <a href="#M000018">seconds</a>&nbsp;&nbsp;
141
-
142
- <a href="#M000011">sign</a>&nbsp;&nbsp;
143
-
144
- <a href="#M000036">to_s</a>&nbsp;&nbsp;
145
-
146
- <a href="#M000022">total_hours</a>&nbsp;&nbsp;
147
-
148
- <a href="#M000025">total_milliseconds</a>&nbsp;&nbsp;
149
-
150
- <a href="#M000023">total_minutes</a>&nbsp;&nbsp;
151
-
152
- <a href="#M000024">total_seconds</a>&nbsp;&nbsp;
153
-
154
- <a href="#M000021">usec</a>&nbsp;&nbsp;
155
-
96
+ <a href="#M000087">&lt;=&gt;</a>&nbsp;&nbsp;
97
+ <a href="#M000086">==</a>&nbsp;&nbsp;
98
+ <a href="#M000065">day</a>&nbsp;&nbsp;
99
+ <a href="#M000064">days</a>&nbsp;&nbsp;
100
+ <a href="#M000085">eql?</a>&nbsp;&nbsp;
101
+ <a href="#M000084">hash</a>&nbsp;&nbsp;
102
+ <a href="#M000067">hour</a>&nbsp;&nbsp;
103
+ <a href="#M000066">hours</a>&nbsp;&nbsp;
104
+ <a href="#M000072">milliseconds</a>&nbsp;&nbsp;
105
+ <a href="#M000069">min</a>&nbsp;&nbsp;
106
+ <a href="#M000068">minutes</a>&nbsp;&nbsp;
107
+ <a href="#M000078">negate</a>&nbsp;&nbsp;
108
+ <a href="#M000062">new</a>&nbsp;&nbsp;
109
+ <a href="#M000079">roll_days</a>&nbsp;&nbsp;
110
+ <a href="#M000080">roll_hours</a>&nbsp;&nbsp;
111
+ <a href="#M000083">roll_milliseconds</a>&nbsp;&nbsp;
112
+ <a href="#M000081">roll_minutes</a>&nbsp;&nbsp;
113
+ <a href="#M000082">roll_seconds</a>&nbsp;&nbsp;
114
+ <a href="#M000071">sec</a>&nbsp;&nbsp;
115
+ <a href="#M000070">seconds</a>&nbsp;&nbsp;
116
+ <a href="#M000063">sign</a>&nbsp;&nbsp;
117
+ <a href="#M000088">to_s</a>&nbsp;&nbsp;
118
+ <a href="#M000074">total_hours</a>&nbsp;&nbsp;
119
+ <a href="#M000077">total_milliseconds</a>&nbsp;&nbsp;
120
+ <a href="#M000075">total_minutes</a>&nbsp;&nbsp;
121
+ <a href="#M000076">total_seconds</a>&nbsp;&nbsp;
122
+ <a href="#M000073">usec</a>&nbsp;&nbsp;
156
123
  </div>
157
124
  </div>
158
125
 
159
126
  </div>
160
127
 
161
- <!-- if includes -->
162
128
 
129
+ <!-- if includes -->
163
130
  <div id="includes">
164
131
  <h3 class="section-bar">Included Modules</h3>
165
132
 
166
133
  <div id="includes-list">
167
-
168
134
  <span class="include-name">Comparable</span>
169
-
170
135
  </div>
171
136
  </div>
172
137
 
173
138
  <div id="section">
174
139
 
140
+
175
141
  <div id="constants-list">
176
142
  <h3 class="section-bar">Constants</h3>
177
143
 
178
144
  <div class="name-list">
179
145
  <table summary="Constants">
180
-
181
146
  <tr class="top-aligned-row context-row">
182
147
  <td class="context-item-name">MILLISECONDS_IN_SECOND</td>
183
148
  <td>=</td>
184
149
  <td class="context-item-value">1000</td>
185
-
186
150
  </tr>
187
-
188
151
  <tr class="top-aligned-row context-row">
189
152
  <td class="context-item-name">MILLISECONDS_IN_MINUTE</td>
190
153
  <td>=</td>
191
154
  <td class="context-item-value">60 * MILLISECONDS_IN_SECOND</td>
192
-
193
155
  </tr>
194
-
195
156
  <tr class="top-aligned-row context-row">
196
157
  <td class="context-item-name">MILLISECONDS_IN_HOUR</td>
197
158
  <td>=</td>
198
159
  <td class="context-item-value">60 * MILLISECONDS_IN_MINUTE</td>
199
-
200
160
  </tr>
201
-
202
161
  <tr class="top-aligned-row context-row">
203
162
  <td class="context-item-name">MILLISECONDS_IN_DAY</td>
204
163
  <td>=</td>
205
164
  <td class="context-item-value">24 * MILLISECONDS_IN_HOUR</td>
206
-
207
165
  </tr>
208
-
209
166
  </table>
210
167
  </div>
211
168
  </div>
212
169
 
213
170
 
214
171
 
172
+
215
173
 
216
- <!-- if method_list -->
217
174
 
175
+ <!-- if method_list -->
218
176
  <div id="methods">
219
-
220
177
  <h3 class="section-bar">Public Class methods</h3>
221
178
 
222
-
223
- <div id="method-M000010" class="method-detail">
224
- <a name="M000010"></a>
179
+ <div id="method-M000062" class="method-detail">
180
+ <a name="M000062"></a>
225
181
 
226
182
  <div class="method-heading">
227
-
228
- <a href="#M000010" class="method-signature">
229
-
183
+ <a href="#M000062" class="method-signature">
230
184
  <span class="method-name">new</span><span class="method-args">(*args)</span>
231
-
232
185
  </a>
233
-
234
186
  </div>
235
-
187
+
236
188
  <div class="method-description">
237
-
238
189
  <p>
239
190
  Create an <a href="SdlTimeSpan.html">SdlTimeSpan</a>. Note: if the timespan
240
191
  is negative all components should be negative.
@@ -248,10 +199,9 @@ or
248
199
  <pre>
249
200
  SdlTimeSpan.new(totalMilliseconds)
250
201
  </pre>
251
-
252
202
  <p><a class="source-toggle" href="#"
253
- onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
254
- <div class="method-source-code" id="M000010-source">
203
+ onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
204
+ <div class="method-source-code" id="M000062-source">
255
205
  <pre>
256
206
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 76</span>
257
207
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -263,32 +213,24 @@ or
263
213
  <span class="ruby-keyword kw">end</span>
264
214
  </pre>
265
215
  </div>
266
-
267
216
  </div>
268
217
  </div>
269
218
 
270
-
271
219
  <h3 class="section-bar">Public Instance methods</h3>
272
220
 
273
-
274
- <div id="method-M000035" class="method-detail">
275
- <a name="M000035"></a>
221
+ <div id="method-M000087" class="method-detail">
222
+ <a name="M000087"></a>
276
223
 
277
224
  <div class="method-heading">
278
-
279
- <a href="#M000035" class="method-signature">
280
-
225
+ <a href="#M000087" class="method-signature">
281
226
  <span class="method-name">&lt;=&gt;</span><span class="method-args">(other)</span>
282
-
283
227
  </a>
284
-
285
228
  </div>
286
-
229
+
287
230
  <div class="method-description">
288
-
289
231
  <p><a class="source-toggle" href="#"
290
- onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
291
- <div class="method-source-code" id="M000035-source">
232
+ onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
233
+ <div class="method-source-code" id="M000087-source">
292
234
  <pre>
293
235
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 229</span>
294
236
  <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;=&gt;</span>(<span class="ruby-identifier">other</span>)
@@ -296,71 +238,53 @@ or
296
238
  <span class="ruby-keyword kw">end</span>
297
239
  </pre>
298
240
  </div>
299
-
300
241
  </div>
301
242
  </div>
302
243
 
303
-
304
- <div id="method-M000034" class="method-detail">
305
- <a name="M000034"></a>
244
+ <div id="method-M000086" class="method-detail">
245
+ <a name="M000086"></a>
306
246
 
307
247
  <div class="method-heading">
308
-
309
248
  <span class="method-name">==</span><span class="method-args">(other)</span>
310
-
311
249
  </div>
312
-
250
+
313
251
  <div class="method-description">
314
-
315
252
  <p>
316
- Alias for <a href="SdlTimeSpan.html#M000033">eql?</a>
253
+ Alias for eql?
317
254
  </p>
318
-
319
255
  </div>
320
256
  </div>
321
257
 
322
-
323
- <div id="method-M000013" class="method-detail">
324
- <a name="M000013"></a>
258
+ <div id="method-M000065" class="method-detail">
259
+ <a name="M000065"></a>
325
260
 
326
261
  <div class="method-heading">
327
-
328
262
  <span class="method-name">day</span><span class="method-args">()</span>
329
-
330
263
  </div>
331
-
264
+
332
265
  <div class="method-description">
333
-
334
266
  <p>
335
- Alias for <a href="SdlTimeSpan.html#M000012">days</a>
267
+ Alias for <a href="SdlTimeSpan.html#M000064">days</a>
336
268
  </p>
337
-
338
269
  </div>
339
270
  </div>
340
271
 
341
-
342
- <div id="method-M000012" class="method-detail">
343
- <a name="M000012"></a>
272
+ <div id="method-M000064" class="method-detail">
273
+ <a name="M000064"></a>
344
274
 
345
275
  <div class="method-heading">
346
-
347
- <a href="#M000012" class="method-signature">
348
-
276
+ <a href="#M000064" class="method-signature">
349
277
  <span class="method-name">days</span><span class="method-args">()</span>
350
-
351
278
  </a>
352
-
353
279
  </div>
354
-
280
+
355
281
  <div class="method-description">
356
-
357
282
  <p>
358
- The days component.
283
+ The <a href="SdlTimeSpan.html#M000064">days</a> component.
359
284
  </p>
360
-
361
285
  <p><a class="source-toggle" href="#"
362
- onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
363
- <div class="method-source-code" id="M000012-source">
286
+ onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
287
+ <div class="method-source-code" id="M000064-source">
364
288
  <pre>
365
289
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 92</span>
366
290
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">days</span>
@@ -368,33 +292,25 @@ The days component.
368
292
  <span class="ruby-keyword kw">end</span>
369
293
  </pre>
370
294
  </div>
371
-
372
295
  </div>
373
296
  </div>
374
297
 
375
-
376
- <div id="method-M000033" class="method-detail">
377
- <a name="M000033"></a>
298
+ <div id="method-M000085" class="method-detail">
299
+ <a name="M000085"></a>
378
300
 
379
301
  <div class="method-heading">
380
-
381
- <a href="#M000033" class="method-signature">
382
-
302
+ <a href="#M000085" class="method-signature">
383
303
  <span class="method-name">eql?</span><span class="method-args">(other)</span>
384
-
385
304
  </a>
386
-
387
305
  </div>
388
-
306
+
389
307
  <div class="method-description">
390
-
391
308
  <p>
392
309
  Tests for equivalence.
393
310
  </p>
394
-
395
311
  <p><a class="source-toggle" href="#"
396
- onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
397
- <div class="method-source-code" id="M000033-source">
312
+ onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
313
+ <div class="method-source-code" id="M000085-source">
398
314
  <pre>
399
315
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 222</span>
400
316
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">eql?</span>(<span class="ruby-identifier">other</span>)
@@ -402,33 +318,25 @@ Tests for equivalence.
402
318
  <span class="ruby-keyword kw">end</span>
403
319
  </pre>
404
320
  </div>
405
-
406
321
  </div>
407
322
  </div>
408
323
 
409
-
410
- <div id="method-M000032" class="method-detail">
411
- <a name="M000032"></a>
324
+ <div id="method-M000084" class="method-detail">
325
+ <a name="M000084"></a>
412
326
 
413
327
  <div class="method-heading">
414
-
415
- <a href="#M000032" class="method-signature">
416
-
328
+ <a href="#M000084" class="method-signature">
417
329
  <span class="method-name">hash</span><span class="method-args">()</span>
418
-
419
330
  </a>
420
-
421
331
  </div>
422
-
332
+
423
333
  <div class="method-description">
424
-
425
334
  <p>
426
335
  A hashcode based on the canonical string representation.
427
336
  </p>
428
-
429
337
  <p><a class="source-toggle" href="#"
430
- onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
431
- <div class="method-source-code" id="M000032-source">
338
+ onclick="toggleCode('M000084-source');return false;">[Source]</a></p>
339
+ <div class="method-source-code" id="M000084-source">
432
340
  <pre>
433
341
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 216</span>
434
342
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hash</span>
@@ -436,52 +344,39 @@ A hashcode based on the canonical string representation.
436
344
  <span class="ruby-keyword kw">end</span>
437
345
  </pre>
438
346
  </div>
439
-
440
347
  </div>
441
348
  </div>
442
349
 
443
-
444
- <div id="method-M000015" class="method-detail">
445
- <a name="M000015"></a>
350
+ <div id="method-M000067" class="method-detail">
351
+ <a name="M000067"></a>
446
352
 
447
353
  <div class="method-heading">
448
-
449
354
  <span class="method-name">hour</span><span class="method-args">()</span>
450
-
451
355
  </div>
452
-
356
+
453
357
  <div class="method-description">
454
-
455
358
  <p>
456
- Alias for <a href="SdlTimeSpan.html#M000014">hours</a>
359
+ Alias for <a href="SdlTimeSpan.html#M000066">hours</a>
457
360
  </p>
458
-
459
361
  </div>
460
362
  </div>
461
363
 
462
-
463
- <div id="method-M000014" class="method-detail">
464
- <a name="M000014"></a>
364
+ <div id="method-M000066" class="method-detail">
365
+ <a name="M000066"></a>
465
366
 
466
367
  <div class="method-heading">
467
-
468
- <a href="#M000014" class="method-signature">
469
-
368
+ <a href="#M000066" class="method-signature">
470
369
  <span class="method-name">hours</span><span class="method-args">()</span>
471
-
472
370
  </a>
473
-
474
371
  </div>
475
-
372
+
476
373
  <div class="method-description">
477
-
478
374
  <p>
479
- The hours component.
375
+ The <a href="SdlTimeSpan.html#M000066">hours</a> component.
480
376
  </p>
481
-
482
377
  <p><a class="source-toggle" href="#"
483
- onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
484
- <div class="method-source-code" id="M000014-source">
378
+ onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
379
+ <div class="method-source-code" id="M000066-source">
485
380
  <pre>
486
381
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 99</span>
487
382
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">hours</span>
@@ -489,33 +384,25 @@ The hours component.
489
384
  <span class="ruby-keyword kw">end</span>
490
385
  </pre>
491
386
  </div>
492
-
493
387
  </div>
494
388
  </div>
495
389
 
496
-
497
- <div id="method-M000020" class="method-detail">
498
- <a name="M000020"></a>
390
+ <div id="method-M000072" class="method-detail">
391
+ <a name="M000072"></a>
499
392
 
500
393
  <div class="method-heading">
501
-
502
- <a href="#M000020" class="method-signature">
503
-
394
+ <a href="#M000072" class="method-signature">
504
395
  <span class="method-name">milliseconds</span><span class="method-args">()</span>
505
-
506
396
  </a>
507
-
508
397
  </div>
509
-
398
+
510
399
  <div class="method-description">
511
-
512
400
  <p>
513
- The milliseconds component.
401
+ The <a href="SdlTimeSpan.html#M000072">milliseconds</a> component.
514
402
  </p>
515
-
516
403
  <p><a class="source-toggle" href="#"
517
- onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
518
- <div class="method-source-code" id="M000020-source">
404
+ onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
405
+ <div class="method-source-code" id="M000072-source">
519
406
  <pre>
520
407
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 125</span>
521
408
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">milliseconds</span>
@@ -527,52 +414,39 @@ The milliseconds component.
527
414
  <span class="ruby-keyword kw">end</span>
528
415
  </pre>
529
416
  </div>
530
-
531
417
  </div>
532
418
  </div>
533
419
 
534
-
535
- <div id="method-M000017" class="method-detail">
536
- <a name="M000017"></a>
420
+ <div id="method-M000069" class="method-detail">
421
+ <a name="M000069"></a>
537
422
 
538
423
  <div class="method-heading">
539
-
540
424
  <span class="method-name">min</span><span class="method-args">()</span>
541
-
542
425
  </div>
543
-
426
+
544
427
  <div class="method-description">
545
-
546
428
  <p>
547
- Alias for <a href="SdlTimeSpan.html#M000016">minutes</a>
429
+ Alias for <a href="SdlTimeSpan.html#M000068">minutes</a>
548
430
  </p>
549
-
550
431
  </div>
551
432
  </div>
552
433
 
553
-
554
- <div id="method-M000016" class="method-detail">
555
- <a name="M000016"></a>
434
+ <div id="method-M000068" class="method-detail">
435
+ <a name="M000068"></a>
556
436
 
557
437
  <div class="method-heading">
558
-
559
- <a href="#M000016" class="method-signature">
560
-
438
+ <a href="#M000068" class="method-signature">
561
439
  <span class="method-name">minutes</span><span class="method-args">()</span>
562
-
563
440
  </a>
564
-
565
441
  </div>
566
-
442
+
567
443
  <div class="method-description">
568
-
569
444
  <p>
570
- The minutes component.
445
+ The <a href="SdlTimeSpan.html#M000068">minutes</a> component.
571
446
  </p>
572
-
573
447
  <p><a class="source-toggle" href="#"
574
- onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
575
- <div class="method-source-code" id="M000016-source">
448
+ onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
449
+ <div class="method-source-code" id="M000068-source">
576
450
  <pre>
577
451
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 106</span>
578
452
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">minutes</span>
@@ -582,34 +456,27 @@ The minutes component.
582
456
  <span class="ruby-keyword kw">end</span>
583
457
  </pre>
584
458
  </div>
585
-
586
459
  </div>
587
460
  </div>
588
461
 
589
-
590
- <div id="method-M000026" class="method-detail">
591
- <a name="M000026"></a>
462
+ <div id="method-M000078" class="method-detail">
463
+ <a name="M000078"></a>
592
464
 
593
465
  <div class="method-heading">
594
-
595
- <a href="#M000026" class="method-signature">
596
-
466
+ <a href="#M000078" class="method-signature">
597
467
  <span class="method-name">negate</span><span class="method-args">()</span>
598
-
599
468
  </a>
600
-
601
469
  </div>
602
-
470
+
603
471
  <div class="method-description">
604
-
605
472
  <p>
606
- Returns an new <a href="SdlTimeSpan.html">SdlTimeSpan</a> instance that is
607
- the opposite of this instance
473
+ Returns an <a href="SdlTimeSpan.html#M000062">new</a> <a
474
+ href="SdlTimeSpan.html">SdlTimeSpan</a> instance that is the opposite of
475
+ this instance
608
476
  </p>
609
-
610
477
  <p><a class="source-toggle" href="#"
611
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
612
- <div class="method-source-code" id="M000026-source">
478
+ onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
479
+ <div class="method-source-code" id="M000078-source">
613
480
  <pre>
614
481
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 165</span>
615
482
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">negate</span>
@@ -617,39 +484,34 @@ the opposite of this instance
617
484
  <span class="ruby-keyword kw">end</span>
618
485
  </pre>
619
486
  </div>
620
-
621
487
  </div>
622
488
  </div>
623
489
 
624
-
625
- <div id="method-M000027" class="method-detail">
626
- <a name="M000027"></a>
490
+ <div id="method-M000079" class="method-detail">
491
+ <a name="M000079"></a>
627
492
 
628
493
  <div class="method-heading">
629
-
630
- <a href="#M000027" class="method-signature">
631
-
494
+ <a href="#M000079" class="method-signature">
632
495
  <span class="method-name">roll_days</span><span class="method-args">(days)</span>
633
-
634
496
  </a>
635
-
636
497
  </div>
637
-
498
+
638
499
  <div class="method-description">
639
-
640
500
  <p>
641
- Return a new instance with the days adjusted by the given amount. Positive
642
- numbers add days. Negative numbers remove days.
501
+ Return a <a href="SdlTimeSpan.html#M000062">new</a> instance with the <a
502
+ href="SdlTimeSpan.html#M000064">days</a> adjusted by the given amount.
503
+ Positive numbers add <a href="SdlTimeSpan.html#M000064">days</a>. Negative
504
+ numbers remove <a href="SdlTimeSpan.html#M000064">days</a>.
643
505
  </p>
644
506
  <table>
645
- <tr><td valign="top"><tt>days</tt>:</td><td>The adjustment (days to add or subtract)
507
+ <tr><td valign="top"><tt><a href="SdlTimeSpan.html#M000064">days</a></tt>:</td><td>The adjustment (<a href="SdlTimeSpan.html#M000064">days</a> to add or
508
+ subtract)
646
509
 
647
510
  </td></tr>
648
511
  </table>
649
-
650
512
  <p><a class="source-toggle" href="#"
651
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
652
- <div class="method-source-code" id="M000027-source">
513
+ onclick="toggleCode('M000079-source');return false;">[Source]</a></p>
514
+ <div class="method-source-code" id="M000079-source">
653
515
  <pre>
654
516
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 174</span>
655
517
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">roll_days</span>(<span class="ruby-identifier">days</span>)
@@ -657,39 +519,34 @@ numbers add days. Negative numbers remove days.
657
519
  <span class="ruby-keyword kw">end</span>
658
520
  </pre>
659
521
  </div>
660
-
661
522
  </div>
662
523
  </div>
663
524
 
664
-
665
- <div id="method-M000028" class="method-detail">
666
- <a name="M000028"></a>
525
+ <div id="method-M000080" class="method-detail">
526
+ <a name="M000080"></a>
667
527
 
668
528
  <div class="method-heading">
669
-
670
- <a href="#M000028" class="method-signature">
671
-
529
+ <a href="#M000080" class="method-signature">
672
530
  <span class="method-name">roll_hours</span><span class="method-args">(hours)</span>
673
-
674
531
  </a>
675
-
676
532
  </div>
677
-
533
+
678
534
  <div class="method-description">
679
-
680
535
  <p>
681
- Return a new instance with the hours adjusted by the given amount. Positive
682
- numbers add hours. Negative numbers remove hours.
536
+ Return a <a href="SdlTimeSpan.html#M000062">new</a> instance with the <a
537
+ href="SdlTimeSpan.html#M000066">hours</a> adjusted by the given amount.
538
+ Positive numbers add <a href="SdlTimeSpan.html#M000066">hours</a>. Negative
539
+ numbers remove <a href="SdlTimeSpan.html#M000066">hours</a>.
683
540
  </p>
684
541
  <table>
685
- <tr><td valign="top"><tt>hours</tt>:</td><td>The adjustment (hours to add or subtract)
542
+ <tr><td valign="top"><tt><a href="SdlTimeSpan.html#M000066">hours</a></tt>:</td><td>The adjustment (<a href="SdlTimeSpan.html#M000066">hours</a> to add or
543
+ subtract)
686
544
 
687
545
  </td></tr>
688
546
  </table>
689
-
690
547
  <p><a class="source-toggle" href="#"
691
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
692
- <div class="method-source-code" id="M000028-source">
548
+ onclick="toggleCode('M000080-source');return false;">[Source]</a></p>
549
+ <div class="method-source-code" id="M000080-source">
693
550
  <pre>
694
551
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 183</span>
695
552
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">roll_hours</span>(<span class="ruby-identifier">hours</span>)
@@ -697,39 +554,35 @@ numbers add hours. Negative numbers remove hours.
697
554
  <span class="ruby-keyword kw">end</span>
698
555
  </pre>
699
556
  </div>
700
-
701
557
  </div>
702
558
  </div>
703
559
 
704
-
705
- <div id="method-M000031" class="method-detail">
706
- <a name="M000031"></a>
560
+ <div id="method-M000083" class="method-detail">
561
+ <a name="M000083"></a>
707
562
 
708
563
  <div class="method-heading">
709
-
710
- <a href="#M000031" class="method-signature">
711
-
564
+ <a href="#M000083" class="method-signature">
712
565
  <span class="method-name">roll_milliseconds</span><span class="method-args">(milliseconds)</span>
713
-
714
566
  </a>
715
-
716
567
  </div>
717
-
568
+
718
569
  <div class="method-description">
719
-
720
570
  <p>
721
- Return a new instance with the milliseconds adjusted by the given amount.
722
- Positive numbers add milliseconds. Negative numbers remove milliseconds.
571
+ Return a <a href="SdlTimeSpan.html#M000062">new</a> instance with the <a
572
+ href="SdlTimeSpan.html#M000072">milliseconds</a> adjusted by the given
573
+ amount. Positive numbers add <a
574
+ href="SdlTimeSpan.html#M000072">milliseconds</a>. Negative numbers remove
575
+ <a href="SdlTimeSpan.html#M000072">milliseconds</a>.
723
576
  </p>
724
577
  <table>
725
- <tr><td valign="top"><tt>milliseconds</tt>:</td><td>The adjustment (milliseconds to add or subtract)
578
+ <tr><td valign="top"><tt><a href="SdlTimeSpan.html#M000072">milliseconds</a></tt>:</td><td>The adjustment (<a href="SdlTimeSpan.html#M000072">milliseconds</a> to add
579
+ or subtract)
726
580
 
727
581
  </td></tr>
728
582
  </table>
729
-
730
583
  <p><a class="source-toggle" href="#"
731
- onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
732
- <div class="method-source-code" id="M000031-source">
584
+ onclick="toggleCode('M000083-source');return false;">[Source]</a></p>
585
+ <div class="method-source-code" id="M000083-source">
733
586
  <pre>
734
587
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 210</span>
735
588
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">roll_milliseconds</span>(<span class="ruby-identifier">milliseconds</span>)
@@ -737,39 +590,34 @@ Positive numbers add milliseconds. Negative numbers remove milliseconds.
737
590
  <span class="ruby-keyword kw">end</span>
738
591
  </pre>
739
592
  </div>
740
-
741
593
  </div>
742
594
  </div>
743
595
 
744
-
745
- <div id="method-M000029" class="method-detail">
746
- <a name="M000029"></a>
596
+ <div id="method-M000081" class="method-detail">
597
+ <a name="M000081"></a>
747
598
 
748
599
  <div class="method-heading">
749
-
750
- <a href="#M000029" class="method-signature">
751
-
600
+ <a href="#M000081" class="method-signature">
752
601
  <span class="method-name">roll_minutes</span><span class="method-args">(minutes)</span>
753
-
754
602
  </a>
755
-
756
603
  </div>
757
-
604
+
758
605
  <div class="method-description">
759
-
760
606
  <p>
761
- Return a new instance with the minutes adjusted by the given amount.
762
- Positive numbers add minutes. Negative numbers remove minutes.
607
+ Return a <a href="SdlTimeSpan.html#M000062">new</a> instance with the <a
608
+ href="SdlTimeSpan.html#M000068">minutes</a> adjusted by the given amount.
609
+ Positive numbers add <a href="SdlTimeSpan.html#M000068">minutes</a>.
610
+ Negative numbers remove <a href="SdlTimeSpan.html#M000068">minutes</a>.
763
611
  </p>
764
612
  <table>
765
- <tr><td valign="top"><tt>minutes</tt>:</td><td>The adjustment (minutes to add or subtract)
613
+ <tr><td valign="top"><tt><a href="SdlTimeSpan.html#M000068">minutes</a></tt>:</td><td>The adjustment (<a href="SdlTimeSpan.html#M000068">minutes</a> to add or
614
+ subtract)
766
615
 
767
616
  </td></tr>
768
617
  </table>
769
-
770
618
  <p><a class="source-toggle" href="#"
771
- onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
772
- <div class="method-source-code" id="M000029-source">
619
+ onclick="toggleCode('M000081-source');return false;">[Source]</a></p>
620
+ <div class="method-source-code" id="M000081-source">
773
621
  <pre>
774
622
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 192</span>
775
623
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">roll_minutes</span>(<span class="ruby-identifier">minutes</span>)
@@ -777,39 +625,34 @@ Positive numbers add minutes. Negative numbers remove minutes.
777
625
  <span class="ruby-keyword kw">end</span>
778
626
  </pre>
779
627
  </div>
780
-
781
628
  </div>
782
629
  </div>
783
630
 
784
-
785
- <div id="method-M000030" class="method-detail">
786
- <a name="M000030"></a>
631
+ <div id="method-M000082" class="method-detail">
632
+ <a name="M000082"></a>
787
633
 
788
634
  <div class="method-heading">
789
-
790
- <a href="#M000030" class="method-signature">
791
-
635
+ <a href="#M000082" class="method-signature">
792
636
  <span class="method-name">roll_seconds</span><span class="method-args">(seconds)</span>
793
-
794
637
  </a>
795
-
796
638
  </div>
797
-
639
+
798
640
  <div class="method-description">
799
-
800
641
  <p>
801
- Return a new instance with the seconds adjusted by the given amount.
802
- Positive numbers add seconds. Negative numbers remove seconds.
642
+ Return a <a href="SdlTimeSpan.html#M000062">new</a> instance with the <a
643
+ href="SdlTimeSpan.html#M000070">seconds</a> adjusted by the given amount.
644
+ Positive numbers add <a href="SdlTimeSpan.html#M000070">seconds</a>.
645
+ Negative numbers remove <a href="SdlTimeSpan.html#M000070">seconds</a>.
803
646
  </p>
804
647
  <table>
805
- <tr><td valign="top"><tt>seconds</tt>:</td><td>The adjustment (seconds to add or subtract)
648
+ <tr><td valign="top"><tt><a href="SdlTimeSpan.html#M000070">seconds</a></tt>:</td><td>The adjustment (<a href="SdlTimeSpan.html#M000070">seconds</a> to add or
649
+ subtract)
806
650
 
807
651
  </td></tr>
808
652
  </table>
809
-
810
653
  <p><a class="source-toggle" href="#"
811
- onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
812
- <div class="method-source-code" id="M000030-source">
654
+ onclick="toggleCode('M000082-source');return false;">[Source]</a></p>
655
+ <div class="method-source-code" id="M000082-source">
813
656
  <pre>
814
657
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 201</span>
815
658
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">roll_seconds</span>(<span class="ruby-identifier">seconds</span>)
@@ -817,52 +660,39 @@ Positive numbers add seconds. Negative numbers remove seconds.
817
660
  <span class="ruby-keyword kw">end</span>
818
661
  </pre>
819
662
  </div>
820
-
821
663
  </div>
822
664
  </div>
823
665
 
824
-
825
- <div id="method-M000019" class="method-detail">
826
- <a name="M000019"></a>
666
+ <div id="method-M000071" class="method-detail">
667
+ <a name="M000071"></a>
827
668
 
828
669
  <div class="method-heading">
829
-
830
670
  <span class="method-name">sec</span><span class="method-args">()</span>
831
-
832
671
  </div>
833
-
672
+
834
673
  <div class="method-description">
835
-
836
674
  <p>
837
- Alias for <a href="SdlTimeSpan.html#M000018">seconds</a>
675
+ Alias for <a href="SdlTimeSpan.html#M000070">seconds</a>
838
676
  </p>
839
-
840
677
  </div>
841
678
  </div>
842
679
 
843
-
844
- <div id="method-M000018" class="method-detail">
845
- <a name="M000018"></a>
680
+ <div id="method-M000070" class="method-detail">
681
+ <a name="M000070"></a>
846
682
 
847
683
  <div class="method-heading">
848
-
849
- <a href="#M000018" class="method-signature">
850
-
684
+ <a href="#M000070" class="method-signature">
851
685
  <span class="method-name">seconds</span><span class="method-args">()</span>
852
-
853
686
  </a>
854
-
855
687
  </div>
856
-
688
+
857
689
  <div class="method-description">
858
-
859
690
  <p>
860
- The seconds component.
691
+ The <a href="SdlTimeSpan.html#M000070">seconds</a> component.
861
692
  </p>
862
-
863
693
  <p><a class="source-toggle" href="#"
864
- onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
865
- <div class="method-source-code" id="M000018-source">
694
+ onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
695
+ <div class="method-source-code" id="M000070-source">
866
696
  <pre>
867
697
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 115</span>
868
698
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">seconds</span>
@@ -873,34 +703,26 @@ The seconds component.
873
703
  <span class="ruby-keyword kw">end</span>
874
704
  </pre>
875
705
  </div>
876
-
877
706
  </div>
878
707
  </div>
879
708
 
880
-
881
- <div id="method-M000011" class="method-detail">
882
- <a name="M000011"></a>
709
+ <div id="method-M000063" class="method-detail">
710
+ <a name="M000063"></a>
883
711
 
884
712
  <div class="method-heading">
885
-
886
- <a href="#M000011" class="method-signature">
887
-
713
+ <a href="#M000063" class="method-signature">
888
714
  <span class="method-name">sign</span><span class="method-args">()</span>
889
-
890
715
  </a>
891
-
892
716
  </div>
893
-
717
+
894
718
  <div class="method-description">
895
-
896
719
  <p>
897
- Returns the sign (-1 or +1) of this <a
898
- href="SdlTimeSpan.html">SdlTimeSpan</a>.
720
+ Returns the <a href="SdlTimeSpan.html#M000063">sign</a> (-1 or +1) of this
721
+ <a href="SdlTimeSpan.html">SdlTimeSpan</a>.
899
722
  </p>
900
-
901
723
  <p><a class="source-toggle" href="#"
902
- onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
903
- <div class="method-source-code" id="M000011-source">
724
+ onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
725
+ <div class="method-source-code" id="M000063-source">
904
726
  <pre>
905
727
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 86</span>
906
728
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">sign</span>
@@ -908,26 +730,19 @@ href="SdlTimeSpan.html">SdlTimeSpan</a>.
908
730
  <span class="ruby-keyword kw">end</span>
909
731
  </pre>
910
732
  </div>
911
-
912
733
  </div>
913
734
  </div>
914
735
 
915
-
916
- <div id="method-M000036" class="method-detail">
917
- <a name="M000036"></a>
736
+ <div id="method-M000088" class="method-detail">
737
+ <a name="M000088"></a>
918
738
 
919
739
  <div class="method-heading">
920
-
921
- <a href="#M000036" class="method-signature">
922
-
740
+ <a href="#M000088" class="method-signature">
923
741
  <span class="method-name">to_s</span><span class="method-args">()</span>
924
-
925
742
  </a>
926
-
927
743
  </div>
928
-
744
+
929
745
  <div class="method-description">
930
-
931
746
  <p>
932
747
  Returns an SDL representation of this time span using the format:
933
748
  </p>
@@ -938,11 +753,15 @@ Returns an SDL representation of this time span using the format:
938
753
  (parenthesis indicate optional components)
939
754
  </p>
940
755
  <p>
941
- The days and milliseconds components will not be included if they are set
942
- to 0. Days must be suffixed with &#8220;d&#8221; for clarity.
756
+ The <a href="SdlTimeSpan.html#M000064">days</a> and <a
757
+ href="SdlTimeSpan.html#M000072">milliseconds</a> components will not be
758
+ included if they are set to 0. Days must be suffixed with &quot;d&quot; for
759
+ clarity.
943
760
  </p>
944
761
  <p>
945
- Hours, minutes, and seconds will be zero paded to two characters.
762
+ Hours, <a href="SdlTimeSpan.html#M000068">minutes</a>, and <a
763
+ href="SdlTimeSpan.html#M000070">seconds</a> will be zero paded to two
764
+ characters.
946
765
  </p>
947
766
  <p>
948
767
  Examples:
@@ -952,10 +771,9 @@ Examples:
952
771
  24d:12:13:09.234 (24 days, 12 hours, 13 minutes, 9 seconds,
953
772
  234 milliseconds)
954
773
  </pre>
955
-
956
774
  <p><a class="source-toggle" href="#"
957
- onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
958
- <div class="method-source-code" id="M000036-source">
775
+ onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
776
+ <div class="method-source-code" id="M000088-source">
959
777
  <pre>
960
778
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 250</span>
961
779
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
@@ -986,34 +804,27 @@ Examples:
986
804
  <span class="ruby-keyword kw">end</span>
987
805
  </pre>
988
806
  </div>
989
-
990
807
  </div>
991
808
  </div>
992
809
 
993
-
994
- <div id="method-M000022" class="method-detail">
995
- <a name="M000022"></a>
810
+ <div id="method-M000074" class="method-detail">
811
+ <a name="M000074"></a>
996
812
 
997
813
  <div class="method-heading">
998
-
999
- <a href="#M000022" class="method-signature">
1000
-
814
+ <a href="#M000074" class="method-signature">
1001
815
  <span class="method-name">total_hours</span><span class="method-args">()</span>
1002
-
1003
816
  </a>
1004
-
1005
817
  </div>
1006
-
818
+
1007
819
  <div class="method-description">
1008
-
1009
820
  <p>
1010
- Get the total number of hours in this time span. For example, if this time
1011
- span represents two days, this method will return 48.
821
+ Get the total number of <a href="SdlTimeSpan.html#M000066">hours</a> in
822
+ this time span. For example, if this time span represents two <a
823
+ href="SdlTimeSpan.html#M000064">days</a>, this method will return 48.
1012
824
  </p>
1013
-
1014
825
  <p><a class="source-toggle" href="#"
1015
- onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
1016
- <div class="method-source-code" id="M000022-source">
826
+ onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
827
+ <div class="method-source-code" id="M000074-source">
1017
828
  <pre>
1018
829
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 137</span>
1019
830
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">total_hours</span>
@@ -1021,34 +832,27 @@ span represents two days, this method will return 48.
1021
832
  <span class="ruby-keyword kw">end</span>
1022
833
  </pre>
1023
834
  </div>
1024
-
1025
835
  </div>
1026
836
  </div>
1027
837
 
1028
-
1029
- <div id="method-M000025" class="method-detail">
1030
- <a name="M000025"></a>
838
+ <div id="method-M000077" class="method-detail">
839
+ <a name="M000077"></a>
1031
840
 
1032
841
  <div class="method-heading">
1033
-
1034
- <a href="#M000025" class="method-signature">
1035
-
842
+ <a href="#M000077" class="method-signature">
1036
843
  <span class="method-name">total_milliseconds</span><span class="method-args">()</span>
1037
-
1038
844
  </a>
1039
-
1040
845
  </div>
1041
-
846
+
1042
847
  <div class="method-description">
1043
-
1044
848
  <p>
1045
- Get the total number of milliseconds in this time span. For example, if
1046
- this time span represents 4 seconds, this method will return 4000.
849
+ Get the total number of <a href="SdlTimeSpan.html#M000072">milliseconds</a>
850
+ in this time span. For example, if this time span represents 4 <a
851
+ href="SdlTimeSpan.html#M000070">seconds</a>, this method will return 4000.
1047
852
  </p>
1048
-
1049
853
  <p><a class="source-toggle" href="#"
1050
- onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
1051
- <div class="method-source-code" id="M000025-source">
854
+ onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
855
+ <div class="method-source-code" id="M000077-source">
1052
856
  <pre>
1053
857
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 158</span>
1054
858
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">total_milliseconds</span>
@@ -1056,34 +860,27 @@ this time span represents 4 seconds, this method will return 4000.
1056
860
  <span class="ruby-keyword kw">end</span>
1057
861
  </pre>
1058
862
  </div>
1059
-
1060
863
  </div>
1061
864
  </div>
1062
865
 
1063
-
1064
- <div id="method-M000023" class="method-detail">
1065
- <a name="M000023"></a>
866
+ <div id="method-M000075" class="method-detail">
867
+ <a name="M000075"></a>
1066
868
 
1067
869
  <div class="method-heading">
1068
-
1069
- <a href="#M000023" class="method-signature">
1070
-
870
+ <a href="#M000075" class="method-signature">
1071
871
  <span class="method-name">total_minutes</span><span class="method-args">()</span>
1072
-
1073
872
  </a>
1074
-
1075
873
  </div>
1076
-
874
+
1077
875
  <div class="method-description">
1078
-
1079
876
  <p>
1080
- Get the total number of minutes in this time span. For example, if this
1081
- time span represents two hours, this method will return 120.
877
+ Get the total number of <a href="SdlTimeSpan.html#M000068">minutes</a> in
878
+ this time span. For example, if this time span represents two <a
879
+ href="SdlTimeSpan.html#M000066">hours</a>, this method will return 120.
1082
880
  </p>
1083
-
1084
881
  <p><a class="source-toggle" href="#"
1085
- onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
1086
- <div class="method-source-code" id="M000023-source">
882
+ onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
883
+ <div class="method-source-code" id="M000075-source">
1087
884
  <pre>
1088
885
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 144</span>
1089
886
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">total_minutes</span>
@@ -1091,34 +888,27 @@ time span represents two hours, this method will return 120.
1091
888
  <span class="ruby-keyword kw">end</span>
1092
889
  </pre>
1093
890
  </div>
1094
-
1095
891
  </div>
1096
892
  </div>
1097
893
 
1098
-
1099
- <div id="method-M000024" class="method-detail">
1100
- <a name="M000024"></a>
894
+ <div id="method-M000076" class="method-detail">
895
+ <a name="M000076"></a>
1101
896
 
1102
897
  <div class="method-heading">
1103
-
1104
- <a href="#M000024" class="method-signature">
1105
-
898
+ <a href="#M000076" class="method-signature">
1106
899
  <span class="method-name">total_seconds</span><span class="method-args">()</span>
1107
-
1108
900
  </a>
1109
-
1110
901
  </div>
1111
-
902
+
1112
903
  <div class="method-description">
1113
-
1114
904
  <p>
1115
- Get the total number of seconds in this time span. For example, if this
1116
- time span represents three minutes, this method will return 180.
905
+ Get the total number of <a href="SdlTimeSpan.html#M000070">seconds</a> in
906
+ this time span. For example, if this time span represents three <a
907
+ href="SdlTimeSpan.html#M000068">minutes</a>, this method will return 180.
1117
908
  </p>
1118
-
1119
909
  <p><a class="source-toggle" href="#"
1120
- onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
1121
- <div class="method-source-code" id="M000024-source">
910
+ onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
911
+ <div class="method-source-code" id="M000076-source">
1122
912
  <pre>
1123
913
  <span class="ruby-comment cmt"># File lib/sdl4r/sdl_time_span.rb, line 151</span>
1124
914
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">total_seconds</span>
@@ -1126,41 +916,33 @@ time span represents three minutes, this method will return 180.
1126
916
  <span class="ruby-keyword kw">end</span>
1127
917
  </pre>
1128
918
  </div>
1129
-
1130
919
  </div>
1131
920
  </div>
1132
921
 
1133
-
1134
- <div id="method-M000021" class="method-detail">
1135
- <a name="M000021"></a>
922
+ <div id="method-M000073" class="method-detail">
923
+ <a name="M000073"></a>
1136
924
 
1137
925
  <div class="method-heading">
1138
-
1139
926
  <span class="method-name">usec</span><span class="method-args">()</span>
1140
-
1141
927
  </div>
1142
-
928
+
1143
929
  <div class="method-description">
1144
-
1145
930
  <p>
1146
- Alias for <a href="SdlTimeSpan.html#M000020">milliseconds</a>
931
+ Alias for <a href="SdlTimeSpan.html#M000072">milliseconds</a>
1147
932
  </p>
1148
-
1149
933
  </div>
1150
934
  </div>
1151
935
 
1152
936
 
1153
-
1154
937
  </div>
1155
938
 
1156
939
 
1157
-
1158
-
1159
940
  </div>
1160
941
 
942
+
1161
943
  <div id="validator-badges">
1162
944
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
1163
945
  </div>
1164
946
 
1165
947
  </body>
1166
- </html>
948
+ </html>