This file is indexed.

/usr/share/gtk-doc/html/goffice-0.10/GODateConventions.html is in libgoffice-0.10-doc 0.10.9-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GODateConventions</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GOffice Reference Manual">
<link rel="up" href="ch17.html" title="Miscellaneous">
<link rel="prev" href="ch17.html" title="Miscellaneous">
<link rel="next" href="goffice-0.10-GORegexp.html" title="GORegexp">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch17.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch17.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GOffice Reference Manual</th>
<td><a accesskey="n" href="goffice-0.10-GORegexp.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GODateConventions.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GODateConventions.description" class="shortcut">Description</a>
                   | 
                  <a href="#GODateConventions.object-hierarchy" class="shortcut">Object Hierarchy</a>
</td></tr>
</table>
<div class="refentry">
<a name="GODateConventions"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GODateConventions.top_of_page"></a>GODateConventions</span></h2>
<p>GODateConventions</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GODateConventions.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="GODateConventions.html#GODateConventions-struct" title="GODateConventions">GODateConventions</a>;
                    <a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention">GoCouponConvention</a>;
enum                <a class="link" href="GODateConventions.html#GOBasisType" title="enum GOBasisType">GOBasisType</a>;
<span class="returnvalue">void</span>                <a class="link" href="GODateConventions.html#go-coup-cd" title="go_coup_cd ()">go_coup_cd</a>                          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> *res</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *settle</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *mat</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> freq</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> eom</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> next</code></em>);
<span class="returnvalue">double</span>              <a class="link" href="GODateConventions.html#go-coupdaybs" title="go_coupdaybs ()">go_coupdaybs</a>                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *settlement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *maturity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a> const *conv</code></em>);
<span class="returnvalue">double</span>              <a class="link" href="GODateConventions.html#go-coupdays" title="go_coupdays ()">go_coupdays</a>                         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *settlement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *maturity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a> const *conv</code></em>);
<span class="returnvalue">double</span>              <a class="link" href="GODateConventions.html#go-coupdaysnc" title="go_coupdaysnc ()">go_coupdaysnc</a>                       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *settlement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *maturity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a> const *conv</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GODateConventions.html#go-date-conv-equal" title="go_date_conv_equal ()">go_date_conv_equal</a>                  (<em class="parameter"><code>const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> *a</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> *b</code></em>);
const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="returnvalue">GODateConventions</span></a> * <a class="link" href="GODateConventions.html#go-date-conv-from-str" title="go_date_conv_from_str ()">go_date_conv_from_str</a>         (<em class="parameter"><code>const <span class="type">char</span> *s</code></em>);
<span class="returnvalue">double</span>              <a class="link" href="GODateConventions.html#go-date-conv-translate" title="go_date_conv_translate ()">go_date_conv_translate</a>              (<em class="parameter"><code><span class="type">double</span> f</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> *src</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> *dst</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-convention-base" title="go_date_convention_base ()">go_date_convention_base</a>             (<em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);
<span class="returnvalue">gint32</span>              <a class="link" href="GODateConventions.html#go-date-days-between-basis" title="go_date_days_between_basis ()">go_date_days_between_basis</a>          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *from</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *to</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html#GOBasisType" title="enum GOBasisType"><span class="type">GOBasisType</span></a> basis</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-g-months-between" title="go_date_g_months_between ()">go_date_g_months_between</a>            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date1</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date2</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-g-to-serial" title="go_date_g_to_serial ()">go_date_g_to_serial</a>                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-g-years-between" title="go_date_g_years_between ()">go_date_g_years_between</a>             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date1</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date2</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="GODateConventions.html#go-date-month-name" title="go_date_month_name ()">go_date_month_name</a>                  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDateMonth"><span class="type">GDateMonth</span></a> m</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> abbrev</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-serial-raw-to-seconds" title="go_date_serial_raw_to_seconds ()">go_date_serial_raw_to_seconds</a>       (<em class="parameter"><code><span class="type">double</span> raw</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-serial-raw-to-serial" title="go_date_serial_raw_to_serial ()">go_date_serial_raw_to_serial</a>        (<em class="parameter"><code><span class="type">double</span> raw</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GODateConventions.html#go-date-serial-to-g" title="go_date_serial_to_g ()">go_date_serial_to_g</a>                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> *res</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> serial</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);
<span class="returnvalue">time_t</span>              <a class="link" href="GODateConventions.html#go-date-serial-to-timet" title="go_date_serial_to_timet ()">go_date_serial_to_timet</a>             (<em class="parameter"><code><span class="type">int</span> serial</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-timet-to-seconds" title="go_date_timet_to_seconds ()">go_date_timet_to_seconds</a>            (<em class="parameter"><code><span class="type">time_t</span> t</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-timet-to-serial" title="go_date_timet_to_serial ()">go_date_timet_to_serial</a>             (<em class="parameter"><code><span class="type">time_t</span> t</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);
<span class="returnvalue">double</span>              <a class="link" href="GODateConventions.html#go-date-timet-to-serial-raw" title="go_date_timet_to_serial_raw ()">go_date_timet_to_serial_raw</a>         (<em class="parameter"><code><span class="type">time_t</span> t</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="GODateConventions.html#go-date-weekday-name" title="go_date_weekday_name ()">go_date_weekday_name</a>                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDateWeekday"><span class="type">GDateWeekday</span></a> wd</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> abbrev</code></em>);
<span class="returnvalue">int</span>                 <a class="link" href="GODateConventions.html#go-date-weeknum" title="go_date_weeknum ()">go_date_weeknum</a>                     (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> method</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GODateConventions.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GBoxed
   +----GODateConventions
</pre>
</div>
<div class="refsect1">
<a name="GODateConventions.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="GODateConventions.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GODateConventions-struct"></a><h3>GODateConventions</h3>
<pre class="programlisting">typedef struct {
	gboolean use_1904; /* Use MacOffice 1904 based date convention,
				 * Rather than the Win32 style 1900 */
} GODateConventions;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GODateConventions-struct.use-1904"></a>use_1904</code></em>;</span></p></td>
<td>Base on 1904 as opposed to 1900.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GoCouponConvention"></a><h3>GoCouponConvention</h3>
<pre class="programlisting">typedef struct {
	int	 freq;
	GOBasisType  basis;
	gboolean eom;
	GODateConventions const *date_conv;
} GoCouponConvention;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><span class="type">int</span> <em class="structfield"><code><a name="GoCouponConvention.freq"></a>freq</code></em>;</span></p></td>
<td>frequency.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GODateConventions.html#GOBasisType" title="enum GOBasisType"><span class="type">GOBasisType</span></a> <em class="structfield"><code><a name="GoCouponConvention.basis"></a>basis</code></em>;</span></p></td>
<td><a class="link" href="GODateConventions.html#GOBasisType" title="enum GOBasisType"><span class="type">GOBasisType</span></a></td>
</tr>
<tr>
<td><p><span class="term"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> <em class="structfield"><code><a name="GoCouponConvention.eom"></a>eom</code></em>;</span></p></td>
<td>end of month.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const  *<em class="structfield"><code><a name="GoCouponConvention.date-conv"></a>date_conv</code></em>;</span></p></td>
<td><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a></td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GOBasisType"></a><h3>enum GOBasisType</h3>
<pre class="programlisting">typedef enum {
 /* see doc/fn-financial-basis.txt for details */
	GO_BASIS_MSRB_30_360     = 0,
	GO_BASIS_ACT_ACT         = 1,
	GO_BASIS_ACT_360         = 2,
	GO_BASIS_ACT_365         = 3,
	GO_BASIS_30E_360         = 4,
	GO_BASIS_30Ep_360        = 5,
	GO_BASIS_MSRB_30_360_SYM = 6         /* Gnumeric extension.  */
} GOBasisType;
</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="GO-BASIS-MSRB-30-360:CAPS"></a><span class="term"><code class="literal">GO_BASIS_MSRB_30_360</code></span></p></td>
<td>US 30/360 (days in a month/days in a year)
</td>
</tr>
<tr>
<td><p><a name="GO-BASIS-ACT-ACT:CAPS"></a><span class="term"><code class="literal">GO_BASIS_ACT_ACT</code></span></p></td>
<td>actual days/actual days
</td>
</tr>
<tr>
<td><p><a name="GO-BASIS-ACT-360:CAPS"></a><span class="term"><code class="literal">GO_BASIS_ACT_360</code></span></p></td>
<td>actual days/360
</td>
</tr>
<tr>
<td><p><a name="GO-BASIS-ACT-365:CAPS"></a><span class="term"><code class="literal">GO_BASIS_ACT_365</code></span></p></td>
<td>actual days/365
</td>
</tr>
<tr>
<td><p><a name="GO-BASIS-30E-360:CAPS"></a><span class="term"><code class="literal">GO_BASIS_30E_360</code></span></p></td>
<td>European 30/360
</td>
</tr>
<tr>
<td><p><a name="GO-BASIS-30Ep-360"></a><span class="term"><code class="literal">GO_BASIS_30Ep_360</code></span></p></td>
<td>?
</td>
</tr>
<tr>
<td><p><a name="GO-BASIS-MSRB-30-360-SYM:CAPS"></a><span class="term"><code class="literal">GO_BASIS_MSRB_30_360_SYM</code></span></p></td>
<td>?
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-coup-cd"></a><h3>go_coup_cd ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_coup_cd                          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> *res</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *settle</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *mat</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> freq</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> eom</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> next</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-coupdaybs"></a><h3>go_coupdaybs ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>              go_coupdaybs                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *settlement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *maturity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a> const *conv</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>settlement</code></em> :</span></p></td>
<td><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>maturity</code></em> :</span></p></td>
<td><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>conv</code></em> :</span></p></td>
<td><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of days from the beginning of the coupon period to the
settlement date.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-coupdays"></a><h3>go_coupdays ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>              go_coupdays                         (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *settlement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *maturity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a> const *conv</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>settlement</code></em> :</span></p></td>
<td><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>maturity</code></em> :</span></p></td>
<td><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a></td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>conv</code></em> :</span></p></td>
<td><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of days in the coupon period of the settlement date.
Currently, returns negative numbers if the branch is not implemented.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-coupdaysnc"></a><h3>go_coupdaysnc ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>              go_coupdaysnc                       (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *settlement</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *maturity</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a> const *conv</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>conv</code></em> :</span></p></td>
<td><a class="link" href="GODateConventions.html#GoCouponConvention" title="GoCouponConvention"><span class="type">GoCouponConvention</span></a></td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of days from the settlement date to the next
coupon date.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="go-date-conv-equal"></a><h3>go_date_conv_equal ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            go_date_conv_equal                  (<em class="parameter"><code>const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> *a</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> *b</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-conv-from-str"></a><h3>go_date_conv_from_str ()</h3>
<pre class="programlisting">const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="returnvalue">GODateConventions</span></a> * go_date_conv_from_str         (<em class="parameter"><code>const <span class="type">char</span> *s</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-conv-translate"></a><h3>go_date_conv_translate ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>              go_date_conv_translate              (<em class="parameter"><code><span class="type">double</span> f</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> *src</code></em>,
                                                         <em class="parameter"><code>const <a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> *dst</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-convention-base"></a><h3>go_date_convention_base ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_convention_base             (<em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-days-between-basis"></a><h3>go_date_days_between_basis ()</h3>
<pre class="programlisting"><span class="returnvalue">gint32</span>              go_date_days_between_basis          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *from</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *to</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html#GOBasisType" title="enum GOBasisType"><span class="type">GOBasisType</span></a> basis</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-g-months-between"></a><h3>go_date_g_months_between ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_g_months_between            (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date1</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date2</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-g-to-serial"></a><h3>go_date_g_to_serial ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_g_to_serial                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-g-years-between"></a><h3>go_date_g_years_between ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_g_years_between             (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date1</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date2</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-month-name"></a><h3>go_date_month_name ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              go_date_month_name                  (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDateMonth"><span class="type">GDateMonth</span></a> m</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> abbrev</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-serial-raw-to-seconds"></a><h3>go_date_serial_raw_to_seconds ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_serial_raw_to_seconds       (<em class="parameter"><code><span class="type">double</span> raw</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-serial-raw-to-serial"></a><h3>go_date_serial_raw_to_serial ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_serial_raw_to_serial        (<em class="parameter"><code><span class="type">double</span> raw</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-serial-to-g"></a><h3>go_date_serial_to_g ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                go_date_serial_to_g                 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> *res</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> serial</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-serial-to-timet"></a><h3>go_date_serial_to_timet ()</h3>
<pre class="programlisting"><span class="returnvalue">time_t</span>              go_date_serial_to_timet             (<em class="parameter"><code><span class="type">int</span> serial</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-timet-to-seconds"></a><h3>go_date_timet_to_seconds ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_timet_to_seconds            (<em class="parameter"><code><span class="type">time_t</span> t</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-timet-to-serial"></a><h3>go_date_timet_to_serial ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_timet_to_serial             (<em class="parameter"><code><span class="type">time_t</span> t</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-timet-to-serial-raw"></a><h3>go_date_timet_to_serial_raw ()</h3>
<pre class="programlisting"><span class="returnvalue">double</span>              go_date_timet_to_serial_raw         (<em class="parameter"><code><span class="type">time_t</span> t</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GODateConventions.html" title="GODateConventions"><span class="type">GODateConventions</span></a> const *conv</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-weekday-name"></a><h3>go_date_weekday_name ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              go_date_weekday_name                (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDateWeekday"><span class="type">GDateWeekday</span></a> wd</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> abbrev</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="go-date-weeknum"></a><h3>go_date_weeknum ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>                 go_date_weeknum                     (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html#GDate"><span class="type">GDate</span></a> const *date</code></em>,
                                                         <em class="parameter"><code><span class="type">int</span> method</code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>date</code></em> :</span></p></td>
<td>date</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>method</code></em> :</span></p></td>
<td>week numbering method</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>week number according to the given method.
1:   Week starts on Sunday.  January 1 is in week 1.
2:   Week starts on Monday.  January 1 is in week 1.
150: ISO 8601 week number.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>