Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 6e204a966e8c42d976f99a1700ce5f20 > files > 4163

ghc-7.4.2-4.mga5.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Data.Time.Clock.TAI</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-Time-Clock-TAI.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">time-1.4: A time library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Data.Time.Clock.TAI</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>TAI and leap-second tables for converting to UTC: most people won't need this module.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:AbsoluteTime">AbsoluteTime</a> </li><li class="src short"><a href="#v:taiEpoch">taiEpoch</a> :: <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></li><li class="src short"><a href="#v:addAbsoluteTime">addAbsoluteTime</a> :: <a href="Data-Time-Clock.html#t:DiffTime">DiffTime</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></li><li class="src short"><a href="#v:diffAbsoluteTime">diffAbsoluteTime</a> :: <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a> -&gt; <a href="Data-Time-Clock.html#t:DiffTime">DiffTime</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:LeapSecondTable">LeapSecondTable</a> = <a href="Data-Time-Calendar.html#t:Day">Day</a> -&gt; <a href="../base-4.5.1.0/Prelude.html#t:Integer">Integer</a></li><li class="src short"><a href="#v:utcDayLength">utcDayLength</a> :: <a href="Data-Time-Clock-TAI.html#t:LeapSecondTable">LeapSecondTable</a> -&gt; <a href="Data-Time-Calendar.html#t:Day">Day</a> -&gt; <a href="Data-Time-Clock.html#t:DiffTime">DiffTime</a></li><li class="src short"><a href="#v:utcToTAITime">utcToTAITime</a> :: <a href="Data-Time-Clock-TAI.html#t:LeapSecondTable">LeapSecondTable</a> -&gt; <a href="Data-Time-Clock.html#t:UTCTime">UTCTime</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></li><li class="src short"><a href="#v:taiToUTCTime">taiToUTCTime</a> :: <a href="Data-Time-Clock-TAI.html#t:LeapSecondTable">LeapSecondTable</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a> -&gt; <a href="Data-Time-Clock.html#t:UTCTime">UTCTime</a></li><li class="src short"><a href="#v:parseTAIUTCDATFile">parseTAIUTCDATFile</a> :: <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:LeapSecondTable">LeapSecondTable</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:AbsoluteTime" class="def">AbsoluteTime</a>  </p><div class="doc"><p>AbsoluteTime is TAI, time as measured by a clock.
</p></div><div class="subs instances"><p id="control.i:AbsoluteTime" class="caption collapser" onclick="toggleSection('i:AbsoluteTime')">Instances</p><div id="section.i:AbsoluteTime" class="show"><table><tr><td class="src"><a href="../base-4.5.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="../base-4.5.1.0/Data-Data.html#t:Data">Data</a> <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="../base-4.5.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="../base-4.5.1.0/Text-Show.html#t:Show">Show</a> <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="../base-4.5.1.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="../deepseq-1.3.0.0/Control-DeepSeq.html#t:NFData">NFData</a> <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:taiEpoch" class="def">taiEpoch</a> :: <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></p><div class="doc"><p>The epoch of TAI, which is 1858-11-17 00:00:00 TAI.
</p></div></div><div class="top"><p class="src"><a name="v:addAbsoluteTime" class="def">addAbsoluteTime</a> :: <a href="Data-Time-Clock.html#t:DiffTime">DiffTime</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></p><div class="doc"><p>addAbsoluteTime a b = a + b
</p></div></div><div class="top"><p class="src"><a name="v:diffAbsoluteTime" class="def">diffAbsoluteTime</a> :: <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a> -&gt; <a href="Data-Time-Clock.html#t:DiffTime">DiffTime</a></p><div class="doc"><p>diffAbsoluteTime a b = a - b
</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:LeapSecondTable" class="def">LeapSecondTable</a> = <a href="Data-Time-Calendar.html#t:Day">Day</a> -&gt; <a href="../base-4.5.1.0/Prelude.html#t:Integer">Integer</a></p><div class="doc"><p>TAI - UTC during this day.
 No table is provided, as any program compiled with it would become
 out of date in six months.
</p></div></div><div class="top"><p class="src"><a name="v:utcDayLength" class="def">utcDayLength</a> :: <a href="Data-Time-Clock-TAI.html#t:LeapSecondTable">LeapSecondTable</a> -&gt; <a href="Data-Time-Calendar.html#t:Day">Day</a> -&gt; <a href="Data-Time-Clock.html#t:DiffTime">DiffTime</a></p></div><div class="top"><p class="src"><a name="v:utcToTAITime" class="def">utcToTAITime</a> :: <a href="Data-Time-Clock-TAI.html#t:LeapSecondTable">LeapSecondTable</a> -&gt; <a href="Data-Time-Clock.html#t:UTCTime">UTCTime</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a></p></div><div class="top"><p class="src"><a name="v:taiToUTCTime" class="def">taiToUTCTime</a> :: <a href="Data-Time-Clock-TAI.html#t:LeapSecondTable">LeapSecondTable</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:AbsoluteTime">AbsoluteTime</a> -&gt; <a href="Data-Time-Clock.html#t:UTCTime">UTCTime</a></p></div><div class="top"><p class="src"><a name="v:parseTAIUTCDATFile" class="def">parseTAIUTCDATFile</a> :: <a href="../base-4.5.1.0/Data-String.html#t:String">String</a> -&gt; <a href="Data-Time-Clock-TAI.html#t:LeapSecondTable">LeapSecondTable</a></p><div class="doc"><p>Parse the contents of a tai-utc.dat file.
 This does not do any kind of validation and will return a bad table for input
 not in the correct format.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>