/usr/share/doc/libghc-attoparsec-iso8601-doc/html/Data-Attoparsec-Time.html is in libghc-attoparsec-iso8601-doc 1.0.0.0-1build4.
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 | <!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.Attoparsec.Time</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-Attoparsec-Time.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Attoparsec-Time.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">attoparsec-iso8601-1.0.0.0: Parsing of ISO 8601 dates, originally from aeson.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) 2015-2016 Bryan O'Sullivan</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Bryan O'Sullivan <bos@serpentine.com></td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Data.Attoparsec.Time</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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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:localTime">localTime</a> :: <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> (<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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/time-1.6.0.1/Data-Time-LocalTime.html#t:ZonedTime">ZonedTime</a></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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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-Attoparsec-Time.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:localTime" class="def">localTime</a> :: <a href="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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-Attoparsec-Time.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[.SSS]]</code>.
The space may be replaced with a <code>T</code>. The number of seconds is optional
and 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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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-Attoparsec-Time.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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> (<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-Attoparsec-Time.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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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-Attoparsec-Time.html#utcTime" class="link">Source</a> <a href="#v:utcTime" class="selflink">#</a></p><div class="doc"><p>Behaves as <code><a href="Data-Attoparsec-Time.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="file:///usr/share/doc/libghc-attoparsec-doc/html/Data-Attoparsec-Text.html#t:Parser">Parser</a> <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-Attoparsec-Time.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><p><code>YYYY-MM-DD HH:MM Z</code>
<code>YYYY-MM-DD HH:MM:SS Z</code>
<code>YYYY-MM-DD HH:MM:SS.SSS Z</code></p><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></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|