File: Period.S.html

package info (click to toggle)
calendar 1.09.3-8
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 916 kB
  • ctags: 685
  • sloc: ml: 1,336; makefile: 140; sh: 14
file content (49 lines) | stat: -rw-r--r-- 2,944 bytes parent folder | download | duplicates (2)
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
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="Start" href="index.html">
<link rel="Up" href="Period.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Time_Zone" rel="Chapter" href="Time_Zone.html">
<link title="Period" rel="Chapter" href="Period.html">
<link title="Time" rel="Chapter" href="Time.html">
<link title="Date" rel="Chapter" href="Date.html">
<link title="Calendar" rel="Chapter" href="Calendar.html">
<link title="Printer" rel="Chapter" href="Printer.html"><title>Period.S</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="Period.html">Up</a>
&nbsp;</div>
<center><h1>Module type <a href="type_Period.S.html">Period.S</a></h1></center>
<br>
<pre><span class="keyword">module type</span> S = <code class="code">sig</code> <a href="Period.S.html">..</a> <code class="code">end</code></pre><hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre>
<div class="info">
Type of a period.<br>
</div>

<pre><span class="keyword">val</span> <a name="VALempty"></a>empty : <code class="type"><a href="Period.S.html#TYPEt">t</a></code></pre><div class="info">
The empty period.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALadd"></a>add : <code class="type"><a href="Period.S.html#TYPEt">t</a> -> <a href="Period.S.html#TYPEt">t</a> -> <a href="Period.S.html#TYPEt">t</a></code></pre><div class="info">
Addition of periods.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALsub"></a>sub : <code class="type"><a href="Period.S.html#TYPEt">t</a> -> <a href="Period.S.html#TYPEt">t</a> -> <a href="Period.S.html#TYPEt">t</a></code></pre><div class="info">
Substraction of periods.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALopp"></a>opp : <code class="type"><a href="Period.S.html#TYPEt">t</a> -> <a href="Period.S.html#TYPEt">t</a></code></pre><div class="info">
Opposite of a period.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALcompare"></a>compare : <code class="type"><a href="Period.S.html#TYPEt">t</a> -> <a href="Period.S.html#TYPEt">t</a> -> int</code></pre><div class="info">
Comparaison function between two periods.
      Same behaviour than <code class="code">Pervasives.compare</code>.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALequal"></a>equal : <code class="type"><a href="Period.S.html#TYPEt">t</a> -> <a href="Period.S.html#TYPEt">t</a> -> bool</code></pre><div class="info">
Equality function between two periods. Same behaviour than <code class="code">(=)</code>.<br>
<b>Since</b> 1.09.0<br>
</div>
</body></html>