<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Calendar_builder.html"> <link rel="next" href="Fcalendar.html"> <link rel="Up" href="index.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="Utils" rel="Chapter" href="Utils.html"> <link title="Time_Zone" rel="Chapter" href="Time_Zone.html"> <link title="Period" rel="Chapter" href="Period.html"> <link title="Time_sig" rel="Chapter" href="Time_sig.html"> <link title="Time" rel="Chapter" href="Time.html"> <link title="Ftime" rel="Chapter" href="Ftime.html"> <link title="Date_sig" rel="Chapter" href="Date_sig.html"> <link title="Date" rel="Chapter" href="Date.html"> <link title="Calendar_sig" rel="Chapter" href="Calendar_sig.html"> <link title="Calendar_builder" rel="Chapter" href="Calendar_builder.html"> <link title="Calendar" rel="Chapter" href="Calendar.html"> <link title="Fcalendar" rel="Chapter" href="Fcalendar.html"> <link title="Printer" rel="Chapter" href="Printer.html"> <link title="Version" rel="Chapter" href="Version.html"><title>Calendar</title> </head> <body> <div class="navbar"><a href="Calendar_builder.html">Previous</a> <a href="index.html">Up</a> <a href="Fcalendar.html">Next</a> </div> <center><h1>Module <a href="type_Calendar.html">Calendar</a></h1></center> <br> <pre><span class="keyword">module</span> Calendar: <code class="code"><span class="keyword">sig</span></code> <a href="Calendar.html">..</a> <code class="code"><span class="keyword">end</span></code></pre>Calendar implementation in which seconds are integer. <p> This module uses float. Then results may be unprecise, especially comparison of calendars which differ with few seconds. In this case, consider to use module <code class="code"><span class="constructor">Precise</span></code>.<br> <hr width="100%"> <pre><span class="keyword">include</span> <a href="Calendar_sig.S.html">Calendar_sig.S</a></pre> <pre><span class="keyword">module</span> <a href="Calendar.Precise.html">Precise</a>: <code class="type"><a href="Calendar_sig.S.html">Calendar_sig.S</a></code><code class="type"> with module Date = Date and module Time = Time</code></pre><div class="info"> More precise implementation of calendar in which seconds are integer. </div> </body></html>