/usr/share/doc/libghc-time-parsers-doc/html/Data-Time-Parsers.html is in libghc-time-parsers-doc 0.1.2.0-1build7.
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 | <!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.Parsers</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-Time-Parsers.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Time-Parsers.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">time-parsers-0.1.2.0: Parsers for types in `time`.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) 2015 Bryan O'Sullivan 2015 Oleg Grenrus</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Oleg Grenrus <oleg.grenrus@iki.fi></td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Data.Time.Parsers</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Parsers for parsing dates and times.</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"><a href="#v:day">day</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-Calendar.html#t:Day">Day</a></li><li class="src short"><a href="#v:month">month</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>)</li><li class="src short"><a href="#v:localTime">localTime</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:LocalTime">LocalTime</a></li><li class="src short"><a href="#v:timeOfDay">timeOfDay</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:TimeOfDay">TimeOfDay</a></li><li class="src short"><a href="#v:timeZone">timeZone</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:TimeZone">TimeZone</a>)</li><li class="src short"><a href="#v:utcTime">utcTime</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a></li><li class="src short"><a href="#v:zonedTime">zonedTime</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:ZonedTime">ZonedTime</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:DateParsing">DateParsing</a> m = (<a href="file:///usr/share/doc/libghc-parsers-doc/html/Text-Parser-Char.html#t:CharParsing">CharParsing</a> m, <a href="file:///usr/share/doc/libghc-parsers-doc/html/Text-Parser-LookAhead.html#t:LookAheadParsing">LookAheadParsing</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:day" class="def">day</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-Calendar.html#t:Day">Day</a> <a href="src/Data-Time-Parsers.html#day" class="link">Source</a> <a href="#v:day" class="selflink">#</a></p><div class="doc"><p>Parse a date of the form <code>YYYY-MM-DD</code>.</p></div></div><div class="top"><p class="src"><a id="v:month" class="def">month</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a>) <a href="src/Data-Time-Parsers.html#month" class="link">Source</a> <a href="#v:month" class="selflink">#</a></p><div class="doc"><p>Parse a month of the form <code>YYYY-MM</code></p></div></div><div class="top"><p class="src"><a id="v:localTime" class="def">localTime</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:LocalTime">LocalTime</a> <a href="src/Data-Time-Parsers.html#localTime" class="link">Source</a> <a href="#v:localTime" class="selflink">#</a></p><div class="doc"><p>Parse a date and time, of the form <code>YYYY-MM-DD HH:MM:SS</code>.
The space may be replaced with a <code>T</code>. The number of seconds may be
followed by a fractional component.</p></div></div><div class="top"><p class="src"><a id="v:timeOfDay" class="def">timeOfDay</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:TimeOfDay">TimeOfDay</a> <a href="src/Data-Time-Parsers.html#timeOfDay" class="link">Source</a> <a href="#v:timeOfDay" class="selflink">#</a></p><div class="doc"><p>Parse a time of the form <code>HH:MM:SS[.SSS]</code>.</p></div></div><div class="top"><p class="src"><a id="v:timeZone" class="def">timeZone</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:TimeZone">TimeZone</a>) <a href="src/Data-Time-Parsers.html#timeZone" class="link">Source</a> <a href="#v:timeZone" class="selflink">#</a></p><div class="doc"><p>Parse a time zone, and return <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if the offset from UTC is
zero. (This makes some speedups possible.)</p></div></div><div class="top"><p class="src"><a id="v:utcTime" class="def">utcTime</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-Clock.html#t:UTCTime">UTCTime</a> <a href="src/Data-Time-Parsers.html#utcTime" class="link">Source</a> <a href="#v:utcTime" class="selflink">#</a></p><div class="doc"><p>Behaves as <code><a href="Data-Time-Parsers.html#v:zonedTime">zonedTime</a></code>, but converts any time zone offset into a
UTC time.</p></div></div><div class="top"><p class="src"><a id="v:zonedTime" class="def">zonedTime</a> :: <a href="Data-Time-Parsers.html#t:DateParsing">DateParsing</a> m => m <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:ZonedTime">ZonedTime</a> <a href="src/Data-Time-Parsers.html#zonedTime" class="link">Source</a> <a href="#v:zonedTime" class="selflink">#</a></p><div class="doc"><p>Parse a date with time zone info. Acceptable formats:</p><pre>YYYY-MM-DD HH:MM:SS Z</pre><p>The first space may instead be a <code>T</code>, and the second space is
optional. The <code>Z</code> represents UTC. The <code>Z</code> may be replaced with a
time zone offset of the form <code>+0000</code> or <code>-08:00</code>, where the first
two digits are hours, the <code>:</code> is optional and the second two digits
(also optional) are minutes.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:DateParsing" class="def">DateParsing</a> m = (<a href="file:///usr/share/doc/libghc-parsers-doc/html/Text-Parser-Char.html#t:CharParsing">CharParsing</a> m, <a href="file:///usr/share/doc/libghc-parsers-doc/html/Text-Parser-LookAhead.html#t:LookAheadParsing">LookAheadParsing</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Control-Monad.html#t:Monad">Monad</a> m) <a href="src/Data-Time-Parsers.html#DateParsing" class="link">Source</a> <a href="#t:DateParsing" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|